[llvm] r174484 - Remove this test in the meantime, since it won't pass on Atom. Atom uses lea

Eli Bendersky eliben at google.com
Tue Feb 5 19:15:01 PST 2013


Author: eliben
Date: Tue Feb  5 21:15:00 2013
New Revision: 174484

URL: http://llvm.org/viewvc/llvm-project?rev=174484&view=rev
Log:
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.

Removed:
    llvm/trunk/test/CodeGen/X86/stack-update-frame-opcode.ll

Removed: llvm/trunk/test/CodeGen/X86/stack-update-frame-opcode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stack-update-frame-opcode.ll?rev=174483&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/stack-update-frame-opcode.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stack-update-frame-opcode.ll (removed)
@@ -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*)
-





More information about the llvm-commits mailing list