[NFC][IntrRefLDV] Remove dead code from transferSpillOrRestoreInst()

Differential Revision: https://reviews.llvm.org/D90852
This commit is contained in:
Djordje Todorovic 2020-11-05 07:17:40 -08:00
parent 5a327f3337
commit 22fd38d508
1 changed files with 0 additions and 7 deletions

View File

@ -1968,13 +1968,6 @@ bool InstrRefBasedLDV::transferSpillOrRestoreInst(MachineInstr &MI) {
if (TTracker)
TTracker->transferMlocs(MTracker->getRegMLoc(Reg), SpillLocIdx,
MI.getIterator());
// VarLocBasedImpl would, at this point, stop tracking the source
// register of the store.
if (EmulateOldLDV) {
for (MCRegAliasIterator RAI(Reg, TRI, true); RAI.isValid(); ++RAI)
MTracker->defReg(*RAI, CurBB, CurInst);
}
} else {
if (!(Loc = isRestoreInstruction(MI, MF, Reg)))
return false;