aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-02-06 03:15:00 +0000
committerEli Bendersky <eliben@google.com>2013-02-06 03:15:00 +0000
commita859afa859cdd6eaca0ad911fdebe5b0b32581d5 (patch)
treee0c61ce481da4b9d4bd28669a0c0a33fd1ce08c8 /test
parent8a0329e6ffc290fb177fd058a64b4cf81d4b620a (diff)
Remove this test in the meantime, since it won't pass on Atom. Atom uses lea
to move the stack pointer in prologs/epilogs. I will fix the test and add it back later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/stack-update-frame-opcode.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CodeGen/X86/stack-update-frame-opcode.ll b/test/CodeGen/X86/stack-update-frame-opcode.ll
deleted file mode 100644
index 1838c896bf..0000000000
--- a/test/CodeGen/X86/stack-update-frame-opcode.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; RUN: llc -mtriple=x86_64-pc-linux < %s | FileCheck %s
-; RUN: llc -mtriple=x86_64-pc-linux-gnux32 < %s | FileCheck -check-prefix=X32ABI %s
-
-define i32 @bar(i32 %a) nounwind {
-entry:
- %arr = alloca [400 x i32], align 16
-
-; In the x32 ABI, the stack pointer is treated as a 32-bit value.
-; CHECK: subq $1608
-; X32ABI: subl $1608
-
- %arraydecay = getelementptr inbounds [400 x i32]* %arr, i64 0, i64 0
- %call = call i32 @foo(i32 %a, i32* %arraydecay) nounwind
- ret i32 %call
-
-; CHECK: addq $1608
-; X32ABI: addl $1608
-
-}
-
-declare i32 @foo(i32, i32*)
-