[llvm-commits] [llvm] r115304 - /llvm/trunk/test/CodeGen/X86/vec_insert-7.ll

Bill Wendling isanbard at gmail.com
Fri Oct 1 01:55:48 PDT 2010


Author: void
Date: Fri Oct  1 03:55:48 2010
New Revision: 115304

URL: http://llvm.org/viewvc/llvm-project?rev=115304&view=rev
Log:
FileCheck-ize this test.

Modified:
    llvm/trunk/test/CodeGen/X86/vec_insert-7.ll

Modified: llvm/trunk/test/CodeGen/X86/vec_insert-7.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_insert-7.ll?rev=115304&r1=115303&r2=115304&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_insert-7.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_insert-7.ll Fri Oct  1 03:55:48 2010
@@ -1,9 +1,11 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=i686-apple-darwin9 -o - | grep pinsrd | count 2
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=i686-apple-darwin9 | FileCheck %s
 ; MMX insertelement is not available; these are promoted to XMM.
 ; (Without SSE they are split to two ints, and the code is much better.)
 
 define x86_mmx @mmx_movzl(x86_mmx %x) nounwind  {
 entry:
+; CHECK: pinsrd
+; CHECK: pinsrd
         %tmp = bitcast x86_mmx %x to <2 x i32> 
 	%tmp3 = insertelement <2 x i32> %tmp, i32 32, i32 0		; <<2 x i32>> [#uses=1]
 	%tmp8 = insertelement <2 x i32> %tmp3, i32 0, i32 1		; <<2 x i32>> [#uses=1]





More information about the llvm-commits mailing list