diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-08-25 02:55:40 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-08-25 02:55:40 +0000 |
commit | f76c55aa407050d4fd98f13adb9dba6a7a4c9857 (patch) | |
tree | 158f980b7c041267629359eab347b4258db1cfee /lib/Target | |
parent | 7338bbd32af40b664f6bb744f3e8db8f0dc90fb4 (diff) | |
download | external_llvm-f76c55aa407050d4fd98f13adb9dba6a7a4c9857.zip external_llvm-f76c55aa407050d4fd98f13adb9dba6a7a4c9857.tar.gz external_llvm-f76c55aa407050d4fd98f13adb9dba6a7a4c9857.tar.bz2 |
PUNPCKLDQ should also be used for v4f32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 9d792bc..7adaf97 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -4887,7 +4887,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const { 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); |