forked from OSchip/llvm-project
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
7ca4b6eb5c
commit
14b66375a9
|
@ -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