@@ -29215,7 +29215,7 @@ static SDValue LowerMUL(SDValue Op, const X86Subtarget &Subtarget,
29215
29215
"Should not custom lower when pmulld is available!");
29216
29216
29217
29217
// Extract the odd parts.
29218
- static const int UnpackMask[] = { 1, - 1, 3, -1 };
29218
+ static const int UnpackMask[] = {1, 1, 3, 3 };
29219
29219
SDValue Aodds = DAG.getVectorShuffle(VT, dl, A, A, UnpackMask);
29220
29220
SDValue Bodds = DAG.getVectorShuffle(VT, dl, B, B, UnpackMask);
29221
29221
@@ -31253,7 +31253,7 @@ static SDValue LowerRotate(SDValue Op, const X86Subtarget &Subtarget,
31253
31253
// to v2i64 results at a time. The upper 32-bits contain the wrapped bits
31254
31254
// that can then be OR'd with the lower 32-bits.
31255
31255
assert(VT == MVT::v4i32 && "Only v4i32 vector rotate expected");
31256
- static const int OddMask[] = {1, - 1, 3, -1 };
31256
+ static const int OddMask[] = {1, 1, 3, 3 };
31257
31257
SDValue R13 = DAG.getVectorShuffle(VT, DL, R, R, OddMask);
31258
31258
SDValue Scale13 = DAG.getVectorShuffle(VT, DL, Scale, Scale, OddMask);
31259
31259
0 commit comments