mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix refacto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
baffe7a6f3
commit
630ecf0f53
@ -5294,8 +5294,8 @@ X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const {
|
|||||||
int MaskVec[] = {
|
int MaskVec[] = {
|
||||||
Reverse1 ? 1 : 0,
|
Reverse1 ? 1 : 0,
|
||||||
Reverse1 ? 0 : 1,
|
Reverse1 ? 0 : 1,
|
||||||
static_cast<int>(Reverse2 ? 1-NumElems : NumElems),
|
static_cast<int>(Reverse2 ? NumElems+1 : NumElems),
|
||||||
static_cast<int>(Reverse2 ? NumElems : 1+NumElems)
|
static_cast<int>(Reverse2 ? NumElems : NumElems+1)
|
||||||
};
|
};
|
||||||
return DAG.getVectorShuffle(VT, dl, V[0], V[1], &MaskVec[0]);
|
return DAG.getVectorShuffle(VT, dl, V[0], V[1], &MaskVec[0]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user