Skip to content

Commit 76b54df

Browse files
committed
[StackSlotColoring] Use Register for isLoadFromStackSlot/isStoreToStackSlot result. NFC
1 parent 8965795 commit 76b54df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/StackSlotColoring.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) {
472472
MachineBasicBlock::iterator NextMI = std::next(I);
473473
MachineBasicBlock::iterator ProbableLoadMI = I;
474474

475-
unsigned LoadReg = 0;
476-
unsigned StoreReg = 0;
475+
Register LoadReg;
476+
Register StoreReg;
477477
unsigned LoadSize = 0;
478478
unsigned StoreSize = 0;
479479
if (!(LoadReg = TII->isLoadFromStackSlot(*I, FirstSS, LoadSize)))

0 commit comments

Comments
 (0)