llvm.org GIT mirror llvm / 834db73
Use the -stack-alignment option instead of using a target triple for avoiding dynamic stack realignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65319 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -o %t -f
0 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -stack-alignment=16 -o %t -f
11 ; RUN: grep pextrw %t | count 13
22 ; RUN: grep pinsrw %t | count 14
33 ; RUN: grep rolw %t | count 13
44 ; RUN: not grep esp %t
55 ; RUN: not grep ebp %t
6 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
6 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -stack-alignment=16 -o %t -f
77 ; RUN: grep pshufb %t | count 3
8
9 target triple = "i386-apple-darwin9"
108
119 define <16 x i8> @shuf1(<16 x i8> %T0) nounwind readnone {
1210 entry: