diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-05-26 20:18:56 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-05-26 20:18:56 +0000 |
commit | 3978927dfa6b88bde400e71f14154dc16bb8536b (patch) | |
tree | 73ad1dfbdf73bcbe811075eb18b235364628d6ef /test/CodeGen/X86/memset.ll | |
parent | 28c3cff8250b3fe2adc6479306fe7dbdb48a1bdb (diff) | |
download | external_llvm-3978927dfa6b88bde400e71f14154dc16bb8536b.zip external_llvm-3978927dfa6b88bde400e71f14154dc16bb8536b.tar.gz external_llvm-3978927dfa6b88bde400e71f14154dc16bb8536b.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/memset.ll')
-rw-r--r-- | test/CodeGen/X86/memset.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/memset.ll b/test/CodeGen/X86/memset.ll index eeaaf51..564174c 100644 --- a/test/CodeGen/X86/memset.ll +++ b/test/CodeGen/X86/memset.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse | grep mov | count 9 -; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep mov | count 3 +; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 9 +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 3 %struct.x = type { i16, i16 } |