Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; CHECK: rol
      3 
      4 ; Function Attrs: nounwind
      5 define fastcc void @f0() #0 {
      6 b0:
      7   br label %b1
      8 
      9 b1:                                               ; preds = %b1, %b0
     10   br i1 undef, label %b2, label %b1
     11 
     12 b2:                                               ; preds = %b1
     13   br label %b3
     14 
     15 b3:                                               ; preds = %b3, %b2
     16   %v0 = load i64, i64* undef, align 8, !tbaa !0
     17   %v1 = lshr i64 %v0, 8
     18   %v2 = shl i64 %v0, 56
     19   %v3 = or i64 %v2, %v1
     20   %v4 = xor i64 %v3, 0
     21   %v5 = xor i64 %v4, 0
     22   %v6 = add i64 0, %v5
     23   store i64 %v6, i64* undef, align 8, !tbaa !0
     24   br label %b3
     25 }
     26 
     27 attributes #0 = { nounwind "target-cpu"="hexagonv60" }
     28 
     29 !0 = !{!1, !1, i64 0}
     30 !1 = !{!"long long", !2}
     31 !2 = !{!"omnipotent char", !3}
     32 !3 = !{!"Simple C/C++ TBAA"}
     33