[llvm-commits] [llvm] r115352 - in /llvm/trunk/test/CodeGen/X86: mmx-punpckhdq.ll vec_insert-7.ll

Bill Wendling isanbard at gmail.com
Fri Oct 1 14:39:35 PDT 2010


Author: void
Date: Fri Oct  1 16:39:35 2010
New Revision: 115352

URL: http://llvm.org/viewvc/llvm-project?rev=115352&view=rev
Log:
Need to specify SSE4 for machines which don't have SSE4. The code checked for is generated by SSE4. Otherwise, we get something else.

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

Modified: llvm/trunk/test/CodeGen/X86/mmx-punpckhdq.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-punpckhdq.ll?rev=115352&r1=115351&r2=115352&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-punpckhdq.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-punpckhdq.ll Fri Oct  1 16:39:35 2010
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=x86_64-apple-darwin10 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse42 -mtriple=x86_64-apple-darwin10 | FileCheck %s
 ; There are no MMX operations in bork; promoted to XMM.
 
 define void @bork(<1 x i64>* %x) {
 ; CHECK: bork
-; FIXMEHECK: pextrd
+; CHECK: pextrd
 entry:
 	%tmp2 = load <1 x i64>* %x		; <<1 x i64>> [#uses=1]
 	%tmp6 = bitcast <1 x i64> %tmp2 to <2 x i32>		; <<2 x i32>> [#uses=1]
@@ -18,7 +18,7 @@
 
 define void @pork(x86_mmx* %x) {
 ; CHECK: pork
-; FIXMEHECK: punpckhdq
+; CHECK: punpckhdq
 entry:
 	%tmp2 = load x86_mmx* %x		; <x86_mmx> [#uses=1]
         %tmp9 = tail call x86_mmx @llvm.x86.mmx.punpckhdq (x86_mmx %tmp2, x86_mmx %tmp2)

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=115352&r1=115351&r2=115352&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_insert-7.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_insert-7.ll Fri Oct  1 16:39:35 2010
@@ -1,12 +1,12 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=i686-apple-darwin9 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse42 -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: mmx_movzl
-; FIXMEHECK: pinsrd
-; FIXMEHECK: pinsrd
+; 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