[llvm-commits] [llvm] r65319 - /llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll

Dan Gohman gohman at apple.com
Mon Feb 23 08:34:46 PST 2009


Author: djg
Date: Mon Feb 23 10:34:46 2009
New Revision: 65319

URL: http://llvm.org/viewvc/llvm-project?rev=65319&view=rev
Log:
Use the -stack-alignment option instead of using a target triple
for avoiding dynamic stack realignment.

Modified:
    llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll

Modified: llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll?rev=65319&r1=65318&r2=65319&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_shuffle-35.ll Mon Feb 23 10:34:46 2009
@@ -1,14 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -o %t -f
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -stack-alignment=16 -o %t -f
 ; RUN: grep pextrw %t | count 13
 ; RUN: grep pinsrw %t | count 14
 ; RUN: grep rolw %t | count 13
 ; RUN: not grep esp %t
 ; RUN: not grep ebp %t
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -stack-alignment=16 -o %t -f
 ; RUN: grep pshufb %t | count 3
 
-target triple = "i386-apple-darwin9"
-
 define <16 x i8> @shuf1(<16 x i8> %T0) nounwind readnone {
 entry:
 	%tmp8 = shufflevector <16 x i8> %T0, <16 x i8> undef, <16 x i32> < i32 1, i32 0, i32 3, i32 2, i32 5, i32 4, i32 7, i32 6, i32 9, i32 8, i32 11, i32 10, i32 12, i32 13, i32 15 , i32 14 >





More information about the llvm-commits mailing list