mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Actually revert r130348 correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a9e3d613b
commit
3fb6e00238
@ -239,19 +239,6 @@ define void @test19(double* %p1) {
|
||||
; CHECK: pxor
|
||||
}
|
||||
|
||||
; Check that we fast-isel sret
|
||||
%struct.a = type { i64, i64, i64 }
|
||||
define void @test20() nounwind ssp {
|
||||
entry:
|
||||
%tmp = alloca %struct.a, align 8
|
||||
call void @test20sret(%struct.a* sret %tmp)
|
||||
ret void
|
||||
; CHECK: test20:
|
||||
; CHECK: leaq (%rsp), %rdi
|
||||
; CHECK: callq _test20sret
|
||||
}
|
||||
declare void @test20sret(%struct.a* sret)
|
||||
|
||||
; Check that -0.0 is not materialized using pxor
|
||||
define void @test21(double* %p1) {
|
||||
store double -0.0, double* %p1
|
||||
@ -259,17 +246,4 @@ define void @test21(double* %p1) {
|
||||
; CHECK: test21:
|
||||
; CHECK-NOT: pxor
|
||||
; CHECK: movsd LCPI
|
||||
}
|
||||
|
||||
; Check that we fast-isel sret
|
||||
%struct.a = type { i64, i64, i64 }
|
||||
define void @test20() nounwind ssp {
|
||||
entry:
|
||||
%tmp = alloca %struct.a, align 8
|
||||
call void @test20sret(%struct.a* sret %tmp)
|
||||
ret void
|
||||
; CHECK: test20:
|
||||
; CHECK: leaq (%rsp), %rdi
|
||||
; CHECK: callq _test20sret
|
||||
}
|
||||
declare void @test20sret(%struct.a* sret)
|
||||
}
|
Loading…
Reference in New Issue
Block a user