summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-23 16:34:46 +0000
committerDan Gohman <gohman@apple.com>2009-02-23 16:34:46 +0000
commit0fd45016c2d80a1227ffcf9f5c7294e9052594cf (patch)
treecddd1513cf2a06131b0317d38a2da0b2949aa087 /llvm/test/CodeGen
parent42987f528a5f83276bb205a8aa7e6731c9691324 (diff)
downloadbcm5719-llvm-0fd45016c2d80a1227ffcf9f5c7294e9052594cf.tar.gz
bcm5719-llvm-0fd45016c2d80a1227ffcf9f5c7294e9052594cf.zip
Use the -stack-alignment option instead of using a target triple
for avoiding dynamic stack realignment. llvm-svn: 65319
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/vec_shuffle-35.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/vec_shuffle-35.ll b/llvm/test/CodeGen/X86/vec_shuffle-35.ll
index b2e14f2eee3..7be84688490 100644
--- a/llvm/test/CodeGen/X86/vec_shuffle-35.ll
+++ b/llvm/test/CodeGen/X86/vec_shuffle-35.ll
@@ -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 >
OpenPOWER on IntegriCloud