Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 
      3 ; CHECK-NOT: if{{.*}}jump{{.*}}-1
      4 ; CHECK: memw
      5 
      6 target triple = "hexagon"
      7 
      8 ; Function Attrs: nounwind
      9 define void @f0() #0 {
     10 b0:
     11   br i1 undef, label %b2, label %b1
     12 
     13 b1:                                               ; preds = %b0
     14   store i32 0, i32* undef, align 4, !tbaa !0
     15   unreachable
     16 
     17 b2:                                               ; preds = %b0
     18   br i1 undef, label %b4, label %b3
     19 
     20 b3:                                               ; preds = %b2
     21   %v0 = or i32 undef, 2048
     22   br label %b4
     23 
     24 b4:                                               ; preds = %b3, %b2
     25   ret void
     26 }
     27 
     28 attributes #0 = { nounwind }
     29 
     30 !0 = !{!1, !1, i64 0}
     31 !1 = !{!"int", !2, i64 0}
     32 !2 = !{!"omnipotent char", !3, i64 0}
     33 !3 = !{!"Simple C/C++ TBAA"}
     34