summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-14 20:31:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-14 20:31:42 +0000
commit7c6e8cd7cc98b898141acb2b038b894dd11d3537 (patch)
tree04d74a4f09fcf8fcc4bb6f41655d489a85ebe6b0 /test/CodeGen
parent39c71da6db9f52cf48430282a27384563a77793e (diff)
downloadllvm-7c6e8cd7cc98b898141acb2b038b894dd11d3537.tar.gz
llvm-7c6e8cd7cc98b898141acb2b038b894dd11d3537.tar.bz2
llvm-7c6e8cd7cc98b898141acb2b038b894dd11d3537.tar.xz
Force CPU in test so we don't accidentally get AVX code on an AVX-capable host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/memset.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/memset.ll b/test/CodeGen/X86/memset.ll
index 72b3e0fa3d..95ff252d5a 100644
--- a/test/CodeGen/X86/memset.ll
+++ b/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 }