diff options
| author | Owen Anderson <resistor@mac.com> | 2008-01-15 22:02:46 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-01-15 22:02:46 +0000 |
| commit | 7047dd4d227b5fb2e5ae0cb2e7d5de1d0098ad60 (patch) | |
| tree | 2edf5577e147196bc82bcc9d4693f5b890e9155e /lib/Target/ARM/ARMInstrInfo.cpp | |
| parent | da68d30d24f3f25444793c6d8c3c5a614e523eaa (diff) | |
Remove DefInst from LiveVariables::VarInfo. Use the facilities on MachineRegisterInfo instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMInstrInfo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp index 6820e4f503..9ecd7c76bc 100644 --- a/lib/Target/ARM/ARMInstrInfo.cpp +++ b/lib/Target/ARM/ARMInstrInfo.cpp @@ -289,9 +289,6 @@ ARMInstrInfo::convertToThreeAddress(MachineFunction::iterator &MFI, MachineInstr *NewMI = (Reg == WBReg) ? UpdateMI : MemMI; if (MO.isDead()) LV.addVirtualRegisterDead(Reg, NewMI); - // Update the defining instruction. - if (VI.DefInst == MI) - VI.DefInst = NewMI; } if (MO.isUse() && MO.isKill()) { for (unsigned j = 0; j < 2; ++j) { |
