mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-27 22:26:31 +00:00
Fix narrowing conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e58263459
commit
9e5512a8ca
@ -5847,7 +5847,7 @@ LowerVECTOR_SHUFFLE_256(ShuffleVectorSDNode *SVOp, SelectionDAG &DAG) {
|
|||||||
// input vectors to use as shuffle operands (recorded in InputUsed).
|
// input vectors to use as shuffle operands (recorded in InputUsed).
|
||||||
// If building a suitable shuffle vector proves too hard, then bail
|
// If building a suitable shuffle vector proves too hard, then bail
|
||||||
// out with useBuildVector set.
|
// out with useBuildVector set.
|
||||||
int InputUsed[2] = { -1U, -1U }; // Not yet discovered.
|
int InputUsed[2] = { -1, -1 }; // Not yet discovered.
|
||||||
unsigned LaneStart = l * NumLaneElems;
|
unsigned LaneStart = l * NumLaneElems;
|
||||||
for (unsigned i = 0; i != NumLaneElems; ++i) {
|
for (unsigned i = 0; i != NumLaneElems; ++i) {
|
||||||
// The mask element. This indexes into the input.
|
// The mask element. This indexes into the input.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user