1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[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:
Quentin Colombet 2014-08-13 23:49:24 +00:00
parent 87c53cc314
commit 5b4be241d4

View File

@ -15876,7 +15876,7 @@ static SDValue LowerMUL_LOHI(SDValue Op, const X86Subtarget *Subtarget,
} else {
const int HighMask[] = {1, 5, 3, 7};
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);
}