mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Eliminate narrowing conversion in initializer list, to make C++11 happy
llvm-svn: 149254
This commit is contained in:
parent
af9ce50196
commit
9deae777e2
@ -5294,8 +5294,8 @@ X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const {
|
||||
int MaskVec[] = {
|
||||
Reverse1 ? 1 : 0,
|
||||
Reverse1 ? 0 : 1,
|
||||
Reverse2 ? 1-NumElems : NumElems,
|
||||
Reverse2 ? NumElems : 1+NumElems
|
||||
static_cast<int>(Reverse2 ? 1-NumElems : NumElems),
|
||||
static_cast<int>(Reverse2 ? NumElems : 1+NumElems)
|
||||
};
|
||||
return DAG.getVectorShuffle(VT, dl, V[0], V[1], &MaskVec[0]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user