Avoid warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2010-09-14 21:12:05 +00:00
parent f3f09527e6
commit fe3ac088ee

View File

@ -450,8 +450,9 @@ void ARMExpandPseudo::ExpandLaneOp(MachineBasicBlock::iterator &MBBI) {
} }
assert(Lane < RegElts && "out of range lane for VLD/VST-lane"); assert(Lane < RegElts && "out of range lane for VLD/VST-lane");
unsigned DstReg, D0, D1, D2, D3; unsigned D0, D1, D2, D3;
bool DstIsDead; unsigned DstReg = 0;
bool DstIsDead = false;
if (TableEntry->IsLoad) { if (TableEntry->IsLoad) {
DstIsDead = MI.getOperand(OpIdx).isDead(); DstIsDead = MI.getOperand(OpIdx).isDead();
DstReg = MI.getOperand(OpIdx++).getReg(); DstReg = MI.getOperand(OpIdx++).getReg();