aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll')
-rw-r--r--test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll b/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll
deleted file mode 100644
index bd3317a68b8c..000000000000
--- a/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
-
-declare i8* @llvm.returnaddress(i32)
-
-declare i8* @llvm.frameaddress(i32)
-
-define i8* @test1() {
-; CHECK-LABEL: test1:
-entry:
- %X = call i8* @llvm.returnaddress( i32 0 )
- ret i8* %X
-; CHECK: movl {{.*}}(%esp), %eax
-}
-
-define i8* @test2() {
-; CHECK-LABEL: test2:
-entry:
- %X = call i8* @llvm.frameaddress( i32 0 )
- ret i8* %X
-; CHECK: pushl %ebp
-; CHECK: popl %ebp
-}
-