forked from OSchip/llvm-project
[X86] Fix the value of the low mask for the lowering of MUL_LOHI for v4i32.
Found by code inspection. llvm-svn: 215604
This commit is contained in:
parent
d288fad374
commit
57fb040beb
|
@ -15876,7 +15876,7 @@ static SDValue LowerMUL_LOHI(SDValue Op, const X86Subtarget *Subtarget,
|
||||||
} else {
|
} else {
|
||||||
const int HighMask[] = {1, 5, 3, 7};
|
const int HighMask[] = {1, 5, 3, 7};
|
||||||
Highs = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, HighMask);
|
Highs = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, HighMask);
|
||||||
const int LowMask[] = {1, 4, 2, 6};
|
const int LowMask[] = {0, 4, 2, 6};
|
||||||
Lows = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, LowMask);
|
Lows = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, LowMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue