1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=thumbv7-linux-gnueabihf -O0 -fast-isel=0 -o - %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdefine void @test_no_duplicate_branches(float %in) { 4*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: test_no_duplicate_branches: 5*9880d681SAndroid Build Coastguard Worker; CHECK: vldr {{s[0-9]+}}, [[CONST:\.LCPI[0-9]+_[0-9]+]] 6*9880d681SAndroid Build Coastguard Worker; CHECK: b .LBB 7*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: b .LBB 8*9880d681SAndroid Build Coastguard Worker; CHECK: [[CONST]]: 9*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: .long 1150963712 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker %tst = fcmp oeq float %in, 1234.5 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker %chain = zext i1 %tst to i32 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker br i1 %tst, label %true, label %false 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Workertrue: 18*9880d681SAndroid Build Coastguard Worker call i32 @llvm.arm.space(i32 2000, i32 undef) 19*9880d681SAndroid Build Coastguard Worker ret void 20*9880d681SAndroid Build Coastguard Worker 21*9880d681SAndroid Build Coastguard Workerfalse: 22*9880d681SAndroid Build Coastguard Worker ret void 23*9880d681SAndroid Build Coastguard Worker} 24*9880d681SAndroid Build Coastguard Worker 25*9880d681SAndroid Build Coastguard Workerdeclare i32 @llvm.arm.space(i32, i32) 26