[llvm-commits] [llvm] r167973 - /llvm/trunk/test/CodeGen/X86/memset.ll

Benjamin Kramer benny.kra at googlemail.com
Wed Nov 14 12:31:42 PST 2012


Author: d0k
Date: Wed Nov 14 14:31:42 2012
New Revision: 167973

URL: http://llvm.org/viewvc/llvm-project?rev=167973&view=rev
Log:
Force CPU in test so we don't accidentally get AVX code on an AVX-capable host.

Modified:
    llvm/trunk/test/CodeGen/X86/memset.ll

Modified: llvm/trunk/test/CodeGen/X86/memset.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/memset.ll?rev=167973&r1=167972&r2=167973&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/memset.ll (original)
+++ llvm/trunk/test/CodeGen/X86/memset.ll Wed Nov 14 14:31:42 2012
@@ -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 }
 





More information about the llvm-commits mailing list