llvm.org GIT mirror llvm / 3c84ec0
Allow for depencendy-breaking instructions before cvt*. This should unbreak clang-x86_64-darwin10-RA, but I can't actually reproduce the failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144611 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1818 define void @isint_branch(double %d) nounwind {
1919 ; CHECK: cvt
2020 %i = fptosi double %d to i32
21 ; CHECK-NEXT: cvt
21 ; CHECK: cvt
2222 %e = sitofp i32 %i to double
2323 ; CHECK: ucomisd
2424 %c = fcmp oeq double %d, %e
3737 ; CHECK-NEXT: jns LBB0_2
3838 ; CHECK: cvtsi2ss
3939 ; CHECK: LBB0_2
40 ; CHECK-NEXT: cvtsi2ss
40 ; CHECK: cvtsi2ss
4141 define float @test(i64 %a) {
4242 entry:
4343 %b = uitofp i64 %a to float