Force CPU in test so we don't accidentally get AVX code on an AVX-capable host.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Nov 2012 20:31:42 +0000 (20:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Nov 2012 20:31:42 +0000 (20:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167973 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/memset.ll

index 72b3e0fa3d513042c1a81bde07e129923bd4e774..95ff252d5af87714b8ab9bebac0ce15cac6893f3 100644 (file)
@@ -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 }