Allow for depencendy-breaking instructions before cvt*.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Nov 2011 02:29:48 +0000 (02:29 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Nov 2011 02:29:48 +0000 (02:29 +0000)
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

test/CodeGen/X86/isint.ll
test/CodeGen/X86/uint64-to-float.ll

index 4a98e63f38fc92f487befc747c59eb03a4b65f98..1edb1c985296fb96eaa20a30a589cdfded75956e 100644 (file)
@@ -19,7 +19,7 @@ declare void @foo()
 define void @isint_branch(double %d) nounwind {
 ; CHECK: cvt
   %i = fptosi double %d to i32
-; CHECK-NEXT: cvt
+; CHECK: cvt
   %e = sitofp i32 %i to double
 ; CHECK: ucomisd
   %c = fcmp oeq double %d, %e
index 1dbbdcf892797de823308647b49e98c5d1b9968e..3cf5d4dc4922653849a135ec03f296c25b6f513f 100644 (file)
@@ -38,7 +38,7 @@ target triple = "x86_64-apple-darwin10.0.0"
 ; CHECK-NEXT: jns LBB0_2
 ; CHECK: cvtsi2ss
 ; CHECK: LBB0_2
-; CHECK-NEXT: cvtsi2ss
+; CHECK: cvtsi2ss
 define float @test(i64 %a) {
 entry:
   %b = uitofp i64 %a to float