1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00

Allow for depencendy-breaking instructions before cvt*.

This should unbreak clang-x86_64-darwin10-RA, but I can't actually
reproduce the failure.

llvm-svn: 144611
This commit is contained in:
Jakob Stoklund Olesen 2011-11-15 02:29:48 +00:00
parent 47d8f8af84
commit a4ad7080ff
2 changed files with 2 additions and 2 deletions

View 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

View 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