diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-28 18:06:10 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-28 18:06:10 +0000 |
commit | d5a80ca3c87d49062b7803b6e0fc3c45ffcc6683 (patch) | |
tree | e73d45cdb31b5142618c679a6895e067b61ccdb8 /llvm/test/CodeGen/X86/fast-isel-x86-64.ll | |
parent | d517d55484372e0a52bf5be1695e521e6a4ca5b3 (diff) | |
download | bcm5719-llvm-d5a80ca3c87d49062b7803b6e0fc3c45ffcc6683.tar.gz bcm5719-llvm-d5a80ca3c87d49062b7803b6e0fc3c45ffcc6683.zip |
Revert r130348; causing buildbot issues on x86-32.
llvm-svn: 130412
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-x86-64.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll index f7bfe722b37..1bc25d95654 100644 --- a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll +++ b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll @@ -260,3 +260,16 @@ define void @test21(double* %p1) { ; 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) |