aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-15 02:29:48 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-15 02:29:48 +0000
commit3c84ec070a8bc58153e2f154013a5fb31d54bccf (patch)
tree8132a0158c2b45b005c86c481e3fe619b1156e09
parenteaa192af18677c4dc5894e049514d8a6b1d6d7c2 (diff)
downloadexternal_llvm-3c84ec070a8bc58153e2f154013a5fb31d54bccf.zip
external_llvm-3c84ec070a8bc58153e2f154013a5fb31d54bccf.tar.gz
external_llvm-3c84ec070a8bc58153e2f154013a5fb31d54bccf.tar.bz2
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
-rw-r--r--test/CodeGen/X86/isint.ll2
-rw-r--r--test/CodeGen/X86/uint64-to-float.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/isint.ll b/test/CodeGen/X86/isint.ll
index 4a98e63..1edb1c9 100644
--- a/test/CodeGen/X86/isint.ll
+++ b/test/CodeGen/X86/isint.ll
@@ -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
diff --git a/test/CodeGen/X86/uint64-to-float.ll b/test/CodeGen/X86/uint64-to-float.ll
index 1dbbdcf..3cf5d4d 100644
--- a/test/CodeGen/X86/uint64-to-float.ll
+++ b/test/CodeGen/X86/uint64-to-float.ll
@@ -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