[llvm-commits] [llvm] r112020 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Aug 24 19:55:41 PDT 2010
Author: bruno
Date: Tue Aug 24 21:55:40 2010
New Revision: 112020
URL: http://llvm.org/viewvc/llvm-project?rev=112020&view=rev
Log:
PUNPCKLDQ should also be used for v4f32
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=112020&r1=112019&r2=112020&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Aug 24 21:55:40 2010
@@ -4887,7 +4887,7 @@
return getTargetShuffleNode(X86ISD::MOVLHPS, dl, VT, V1, V1, DAG);
if (OptForSize && HasSSE2 && X86::isUNPCKL_v_undef_Mask(SVOp) &&
- VT == MVT::v4i32)
+ (VT == MVT::v4i32 || VT == MVT::v4f32))
return getTargetShuffleNode(X86ISD::PUNPCKLDQ, dl, VT, V1, V1, DAG);
unsigned TargetMask = X86::getShuffleSHUFImmediate(SVOp);
More information about the llvm-commits
mailing list