summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/x86-64-frameaddr.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-27 01:56:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-27 01:56:22 +0000
commit184793fc8a9cf6ecc9147468bbcc068f472b8517 (patch)
tree8a3fb921e6c50ca0cd6c77e2ce1c1ce7d6171514 /test/CodeGen/X86/x86-64-frameaddr.ll
parent85263907681d21094cab75547cf4a5f538703fcc (diff)
downloadllvm-184793fc8a9cf6ecc9147468bbcc068f472b8517.tar.gz
llvm-184793fc8a9cf6ecc9147468bbcc068f472b8517.tar.bz2
llvm-184793fc8a9cf6ecc9147468bbcc068f472b8517.tar.xz
Re-apply 56683 with fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/x86-64-frameaddr.ll')
-rw-r--r--test/CodeGen/X86/x86-64-frameaddr.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/x86-64-frameaddr.ll b/test/CodeGen/X86/x86-64-frameaddr.ll
index 86a238f6ab..80060996f3 100644
--- a/test/CodeGen/X86/x86-64-frameaddr.ll
+++ b/test/CodeGen/X86/x86-64-frameaddr.ll
@@ -1,7 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {leaq -8(%rsp), %rax}
-@llvm.noinline = appending global [1 x i8*] [ i8* bitcast (i64* ()* @stack_end_address to i8*) ], section "llvm.metadata"
+; RUN: llvm-as < %s | llc -march=x86-64 | grep movq | grep rbp
-define internal i64* @stack_end_address() nounwind {
+define i64* @stack_end_address() nounwind {
entry:
tail call i8* @llvm.frameaddress( i32 0 )
bitcast i8* %0 to i64*