mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 17:57:07 +00:00
[X86] CombineShuffleWithExtract - assert all src ops types are multiples of rootsize. NFCI.
llvm-svn: 363501
This commit is contained in:
parent
90e87af303
commit
456ca5d7f7
@ -31960,7 +31960,8 @@ static SDValue combineX86ShuffleChain(ArrayRef<SDValue> Inputs, SDValue Root,
|
||||
unsigned Offset2 = V2.getConstantOperandVal(1);
|
||||
assert(((Offset1 % VT1.getVectorNumElements()) == 0 ||
|
||||
(Offset2 % VT2.getVectorNumElements()) == 0 ||
|
||||
(Src1.getValueSizeInBits() % RootSizeInBits) == 0) &&
|
||||
(Src1.getValueSizeInBits() % RootSizeInBits) == 0 ||
|
||||
(Src2.getValueSizeInBits() % RootSizeInBits) == 0) &&
|
||||
"Unexpected subvector extraction");
|
||||
unsigned Scale = Src1.getValueSizeInBits() / RootSizeInBits;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user