summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-x86-64.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-04-28 18:06:10 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-04-28 18:06:10 +0000
commit6cf31b0a1a786385d8fb13d45abf0f9c3030dc6f (patch)
treef52f3f27c620d7d54c18d88692107e61c3f3f49a /test/CodeGen/X86/fast-isel-x86-64.ll
parent4cdcb4772d95b9e801a0f3cd43776cef3af3b530 (diff)
downloadllvm-6cf31b0a1a786385d8fb13d45abf0f9c3030dc6f.tar.gz
llvm-6cf31b0a1a786385d8fb13d45abf0f9c3030dc6f.tar.bz2
llvm-6cf31b0a1a786385d8fb13d45abf0f9c3030dc6f.tar.xz
Revert r130348; causing buildbot issues on x86-32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-x86-64.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel-x86-64.ll b/test/CodeGen/X86/fast-isel-x86-64.ll
index f7bfe722b3..1bc25d9565 100644
--- a/test/CodeGen/X86/fast-isel-x86-64.ll
+++ b/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)