@@ -40300,7 +40300,7 @@ static SDValue combineTargetShuffle(SDValue N, SelectionDAG &DAG,
40300
40300
// See if this reduces to a PSHUFD which is no more expensive and can
40301
40301
// combine with more operations. Note that it has to at least flip the
40302
40302
// dwords as otherwise it would have been removed as a no-op.
40303
- if (ArrayRef(Mask).equals({2, 3, 0, 1})) {
40303
+ if (ArrayRef<int> (Mask).equals({2, 3, 0, 1})) {
40304
40304
int DMask[] = {0, 1, 2, 3};
40305
40305
int DOffset = N.getOpcode() == X86ISD::PSHUFLW ? 0 : 2;
40306
40306
DMask[DOffset + 0] = DOffset + 1;
@@ -40335,8 +40335,8 @@ static SDValue combineTargetShuffle(SDValue N, SelectionDAG &DAG,
40335
40335
int MappedMask[8];
40336
40336
for (int i = 0; i < 8; ++i)
40337
40337
MappedMask[i] = 2 * DMask[WordMask[i] / 2] + WordMask[i] % 2;
40338
- if (ArrayRef(MappedMask).equals({0, 0, 1, 1, 2, 2, 3, 3}) ||
40339
- ArrayRef(MappedMask).equals({4, 4, 5, 5, 6, 6, 7, 7})) {
40338
+ if (ArrayRef<int> (MappedMask).equals({0, 0, 1, 1, 2, 2, 3, 3}) ||
40339
+ ArrayRef<int> (MappedMask).equals({4, 4, 5, 5, 6, 6, 7, 7})) {
40340
40340
// We can replace all three shuffles with an unpack.
40341
40341
V = DAG.getBitcast(VT, D.getOperand(0));
40342
40342
return DAG.getNode(MappedMask[0] == 0 ? X86ISD::UNPCKL
0 commit comments