Fix uninitialized variable warning. NFCI.

llvm-svn: 372662
This commit is contained in:
Simon Pilgrim 2019-09-23 21:32:38 +00:00
parent 8a6916e6db
commit 144276bfe4
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ bool HexagonOptAddrMode::changeLoad(MachineInstr *OldMI, MachineOperand ImmOp,
bool HexagonOptAddrMode::changeStore(MachineInstr *OldMI, MachineOperand ImmOp,
unsigned ImmOpNum) {
bool Changed = false;
unsigned OpStart;
unsigned OpStart = 0;
unsigned OpEnd = OldMI->getNumOperands();
MachineBasicBlock *BB = OldMI->getParent();
auto UsePos = MachineBasicBlock::iterator(OldMI);