From 3c84ec070a8bc58153e2f154013a5fb31d54bccf Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Tue, 15 Nov 2011 02:29:48 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/isint.ll | 2 +- test/CodeGen/X86/uint64-to-float.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/isint.ll b/test/CodeGen/X86/isint.ll index 4a98e63f38f..1edb1c98529 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 1dbbdcf8927..3cf5d4dc492 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 -- 2.34.1