mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 16:07:49 +00:00
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
This commit is contained in:
parent
543457a8c8
commit
f2756d7e7f
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user