mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Initialize some variables the compiler warns about.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2603,7 +2603,7 @@ SDOperand DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) {
|
|||||||
bool isUnary = true;
|
bool isUnary = true;
|
||||||
bool isSplat = true;
|
bool isSplat = true;
|
||||||
int VecNum = -1;
|
int VecNum = -1;
|
||||||
unsigned BaseIdx;
|
unsigned BaseIdx = 0;
|
||||||
for (unsigned i = 0; i != NumElts; ++i)
|
for (unsigned i = 0; i != NumElts; ++i)
|
||||||
if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) {
|
if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) {
|
||||||
unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue();
|
unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue();
|
||||||
@ -2722,7 +2722,7 @@ SDOperand DAGCombiner::visitVVECTOR_SHUFFLE(SDNode *N) {
|
|||||||
bool isUnary = true;
|
bool isUnary = true;
|
||||||
bool isSplat = true;
|
bool isSplat = true;
|
||||||
int VecNum = -1;
|
int VecNum = -1;
|
||||||
unsigned BaseIdx;
|
unsigned BaseIdx = 0;
|
||||||
for (unsigned i = 0; i != NumElts; ++i)
|
for (unsigned i = 0; i != NumElts; ++i)
|
||||||
if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) {
|
if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) {
|
||||||
unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue();
|
unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue();
|
||||||
|
Reference in New Issue
Block a user