mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00: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:
parent
47d8f8af84
commit
a4ad7080ff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user