diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-01 08:25:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-01 08:25:26 +0000 |
commit | 1e8ee79957608ec90274ba2d2b1109069df31edb (patch) | |
tree | 07d751b33dfa0cd094f7a0bbd6263a2eacebdda0 /llvm/test/CodeGen/X86/memset64-on-x86-32.ll | |
parent | 5d5db5342b32de85579fd1f6069bd60d032aed8c (diff) | |
download | bcm5719-llvm-1e8ee79957608ec90274ba2d2b1109069df31edb.tar.gz bcm5719-llvm-1e8ee79957608ec90274ba2d2b1109069df31edb.zip |
Add -mcpu to memcpy / memset tests to ensure they behave the same on all hosts / targets.
llvm-svn: 100101
Diffstat (limited to 'llvm/test/CodeGen/X86/memset64-on-x86-32.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/memset64-on-x86-32.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/memset64-on-x86-32.ll b/llvm/test/CodeGen/X86/memset64-on-x86-32.ll index 8b817b49eec..c0cd271d985 100644 --- a/llvm/test/CodeGen/X86/memset64-on-x86-32.ll +++ b/llvm/test/CodeGen/X86/memset64-on-x86-32.ll @@ -1,5 +1,6 @@ -; RUN: llc < %s -mtriple=i386-apple-darwin | grep movl | count 20 -; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep movq | count 10 +; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=nehalem | grep movaps | count 5 +; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=core2 | grep movl | count 20 +; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core2 | grep movq | count 10 define void @bork() nounwind { entry: |