summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-04-24 11:27:53 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-04-24 11:27:53 +0000
commit7b7b99c74a3440e16ff37375f100e3a30077106d (patch)
tree969f110cef0fc9d6a52a7a56c2a0ae9957bbfd73 /llvm
parente9600009e9a43788633ea55b9c8db1afca3e505c (diff)
downloadbcm5719-llvm-7b7b99c74a3440e16ff37375f100e3a30077106d.tar.gz
bcm5719-llvm-7b7b99c74a3440e16ff37375f100e3a30077106d.zip
AVX2: The BLENDPW instruction selects between vectors of v16i16 using an i8
immediate. We can't use it here because the shuffle code does not check that the lower part of the word is identical to the upper part. llvm-svn: 155440
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index e16367ab42d..8a11b45f0e7 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -5443,12 +5443,6 @@ static SDValue LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
ISDNo = X86ISD::BLENDPD;
OpTy = MVT::v4f64;
break;
- case MVT::v16i16:
- if (!Subtarget->hasAVX2())
- return SDValue();
- ISDNo = X86ISD::BLENDPW;
- OpTy = MVT::v16i16;
- break;
}
assert(ISDNo && "Invalid Op Number");
OpenPOWER on IntegriCloud