blob: a33bee0e50bd1eec026b3f9e90cb7d9d6e92a7d2 [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s | FileCheck %s
2
3; CHECK-NOT: if{{.*}}jump{{.*}}-1
4; CHECK: memw
5
6target triple = "hexagon"
7
8; Function Attrs: nounwind
9define void @f0() #0 {
10b0:
11 br i1 undef, label %b2, label %b1
12
13b1: ; preds = %b0
14 store i32 0, i32* undef, align 4, !tbaa !0
15 unreachable
16
17b2: ; preds = %b0
18 br i1 undef, label %b4, label %b3
19
20b3: ; preds = %b2
21 %v0 = or i32 undef, 2048
22 br label %b4
23
24b4: ; preds = %b3, %b2
25 ret void
26}
27
28attributes #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"}