mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
isCommutedMOVLMask should only look at 128-bit vectors to match isMOVLMask.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75d05e6121
commit
97327dc6ef
@ -3712,6 +3712,8 @@ static bool isVPERMILPMask(ArrayRef<int> Mask, EVT VT, bool HasAVX) {
|
||||
static bool isCommutedMOVLMask(ArrayRef<int> Mask, EVT VT,
|
||||
bool V2IsSplat = false, bool V2IsUndef = false) {
|
||||
unsigned NumOps = VT.getVectorNumElements();
|
||||
if (VT.getSizeInBits() == 256)
|
||||
return false;
|
||||
if (NumOps != 2 && NumOps != 4 && NumOps != 8 && NumOps != 16)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user