diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-14 20:31:42 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-14 20:31:42 +0000 |
commit | d71fb86aed1ddcf169a364f4b537f50e37e726c2 (patch) | |
tree | 56fe25ed75f6341af190ac569979dd633f176439 | |
parent | 542db4a0bc4648d062d54bb699708c3be7629f80 (diff) | |
download | bcm5719-llvm-d71fb86aed1ddcf169a364f4b537f50e37e726c2.tar.gz bcm5719-llvm-d71fb86aed1ddcf169a364f4b537f50e37e726c2.zip |
Force CPU in test so we don't accidentally get AVX code on an AVX-capable host.
llvm-svn: 167973
-rw-r--r-- | llvm/test/CodeGen/X86/memset.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/memset.ll b/llvm/test/CodeGen/X86/memset.ll index 72b3e0fa3d5..95ff252d5af 100644 --- a/llvm/test/CodeGen/X86/memset.ll +++ b/llvm/test/CodeGen/X86/memset.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=x86 -mattr=-sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 9 -; RUN: llc < %s -march=x86 -mattr=+sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 3 +; RUN: llc < %s -march=x86 -mcpu=pentium2 -mtriple=i686-apple-darwin8.8.0 | grep mov | count 9 +; RUN: llc < %s -march=x86 -mcpu=pentium3 -mtriple=i686-apple-darwin8.8.0 | grep mov | count 3 %struct.x = type { i16, i16 } |