1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc < %s -mtriple=ve | FileCheck %s
4 ; Function Attrs: nounwind
5 define void @brcond_then(i1 zeroext %0) {
6 ; CHECK-LABEL: brcond_then:
8 ; CHECK-NEXT: breq.w 0, %s0, .LBB0_2
13 ; CHECK-NEXT: .LBB0_2:
14 ; CHECK-NEXT: b.l.t (, %s10)
15 br i1 %0, label %2, label %3
18 tail call void asm sideeffect "nop", ""()
25 ; Function Attrs: nounwind
26 define void @brcond_else(i1 zeroext %0) {
27 ; CHECK-LABEL: brcond_else:
29 ; CHECK-NEXT: brne.w 0, %s0, .LBB1_2
30 ; CHECK-NEXT: # %bb.1:
34 ; CHECK-NEXT: .LBB1_2:
35 ; CHECK-NEXT: b.l.t (, %s10)
36 br i1 %0, label %3, label %2
39 tail call void asm sideeffect "nop", ""()