summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/memcpy-2.ll
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-05-26 20:18:56 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-05-26 20:18:56 +0000
commit213e114a2c18eccfede3301bd0f4f399009e0665 (patch)
tree3ef9167d4182b6d992b1e9657a7b559b2b3e9944 /llvm/test/CodeGen/X86/memcpy-2.ll
parentdd7daee8506356432a613b5266d54994305e9951 (diff)
downloadbcm5719-llvm-213e114a2c18eccfede3301bd0f4f399009e0665.tar.gz
bcm5719-llvm-213e114a2c18eccfede3301bd0f4f399009e0665.zip
The Linux ABI emits an extra "movl %esp, %ebp" in function prologue and
sometimes a "mov %ebp, %esp" in the epilogue. Force these tests that rely on counting 'mov' to use i686-apple-darwin8.8.0 where they were written. llvm-svn: 51568
Diffstat (limited to 'llvm/test/CodeGen/X86/memcpy-2.ll')
-rw-r--r--llvm/test/CodeGen/X86/memcpy-2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/memcpy-2.ll b/llvm/test/CodeGen/X86/memcpy-2.ll
index 972f55d8ef1..0fccc35f3d2 100644
--- a/llvm/test/CodeGen/X86/memcpy-2.ll
+++ b/llvm/test/CodeGen/X86/memcpy-2.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse | grep mov | count 7
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep mov | count 5
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 7
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 5
%struct.ParmT = type { [25 x i8], i8, i8* }
@.str12 = internal constant [25 x i8] c"image\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00" ; <[25 x i8]*> [#uses=1]
OpenPOWER on IntegriCloud