diff options
| author | Djordje Todorovic <djtodoro@cisco.com> | 2020-11-05 07:17:40 -0800 |
|---|---|---|
| committer | Djordje Todorovic <djtodoro@cisco.com> | 2020-11-13 07:53:54 -0800 |
| commit | 22fd38d5080ed41bf352efcd852666436c678b90 (patch) | |
| tree | bbc5b889cbfd914777d9ef37bd8b7f086bdbb66d /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
| parent | 5a327f333763e164817a4e8318d9ab829a8f9246 (diff) | |
[NFC][IntrRefLDV] Remove dead code from transferSpillOrRestoreInst()
Differential Revision: https://reviews.llvm.org/D90852
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index df5670e9901e..69179d0882f5 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -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; |
