1; RUN: llc < %s -mtriple=ve | FileCheck %s
2
3; Function Attrs: nounwind
4define void @brcond_then(i1 zeroext %0) {
5; CHECK-LABEL: brcond_then:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    breq.w 0, %s0, .LBB{{[0-9]+}}_2
8; CHECK-NEXT:  # %bb.1:
9; CHECK-NEXT:    #APP
10; CHECK-NEXT:    nop
11; CHECK-NEXT:    #NO_APP
12; CHECK-NEXT:  .LBB{{[0-9]+}}_2:
13; CHECK-NEXT:    b.l.t (, %s10)
14  br i1 %0, label %2, label %3
15
162:                                                ; preds = %1
17  tail call void asm sideeffect "nop", ""()
18  br label %3
19
203:                                                ; preds = %2, %1
21  ret void
22}
23
24; Function Attrs: nounwind
25define void @brcond_else(i1 zeroext %0) {
26; CHECK-LABEL: brcond_else:
27; CHECK:       # %bb.0:
28; CHECK-NEXT:    brne.w 0, %s0, .LBB{{[0-9]+}}_2
29; CHECK-NEXT:  # %bb.1:
30; CHECK-NEXT:    #APP
31; CHECK-NEXT:    nop
32; CHECK-NEXT:    #NO_APP
33; CHECK-NEXT:  .LBB{{[0-9]+}}_2:
34; CHECK-NEXT:    b.l.t (, %s10)
35  br i1 %0, label %3, label %2
36
372:                                                ; preds = %1
38  tail call void asm sideeffect "nop", ""()
39  br label %3
40
413:                                                ; preds = %2, %1
42  ret void
43}
44