26 lines · plain
1; RUN: llc -mtriple=thumbv7-linux-gnueabihf -O0 -fast-isel=0 -o - %s | FileCheck %s2 3define void @test_no_duplicate_branches(float %in) {4; CHECK-LABEL: test_no_duplicate_branches:5; CHECK: vldr {{s[0-9]+}}, [[CONST:\.LCPI[0-9]+_[0-9]+]]6; CHECK: b .LBB7; CHECK-NOT: b .LBB8; CHECK: [[CONST]]:9; CHECK-NEXT: .long 0x449a500010 11 %tst = fcmp oeq float %in, 1234.512 13 %chain = zext i1 %tst to i3214 15 br i1 %tst, label %true, label %false16 17true:18 call i32 @llvm.arm.space(i32 2000, i32 undef)19 ret void20 21false:22 ret void23}24 25declare i32 @llvm.arm.space(i32, i32)26