1 ; RUN: llc -march=mipsel < %s | FileCheck %s 2 ; RUN: llc -march=mips64el < %s | FileCheck %s 3 4 ; CHECK-LABEL: test_blez: 5 ; CHECK: blez ${{[0-9]+}}, $BB 6 7 define void @test_blez(i32 %a) { 8 entry: 9 %cmp = icmp sgt i32 %a, 0 10 br i1 %cmp, label %if.then, label %if.end 11 12 if.then: 13 tail call void @foo1() 14 br label %if.end 15 16 if.end: 17 ret void 18 } 19 20 declare void @foo1() 21 22 ; CHECK-LABEL: test_bgez: 23 ; CHECK: bgez ${{[0-9]+}}, $BB 24 25 define void @test_bgez(i32 %a) { 26 entry: 27 %cmp = icmp slt i32 %a, 0 28 br i1 %cmp, label %if.then, label %if.end 29 30 if.then: 31 tail call void @foo1() 32 br label %if.end 33 34 if.end: 35 ret void 36 } 37