summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-01-15 22:02:46 +0000
committerOwen Anderson <resistor@mac.com>2008-01-15 22:02:46 +0000
commit1ba66e0cecb469f08c75f2073b1baaf996c40347 (patch)
treea14031e43090bbc787943fcc8a8c53d014b97769 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parent3c3fefde06a45a956d197e045136899f878f4032 (diff)
downloadbcm5719-llvm-1ba66e0cecb469f08c75f2073b1baaf996c40347.tar.gz
bcm5719-llvm-1ba66e0cecb469f08c75f2073b1baaf996c40347.zip
Remove DefInst from LiveVariables::VarInfo. Use the facilities on MachineRegisterInfo instead.
llvm-svn: 46016
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index dec401c55d0..060f6a6794b 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -199,10 +199,6 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
MachineBasicBlock::iterator prevMi = prior(mi);
DOUT << "\t\tprepend:\t"; DEBUG(prevMi->print(*cerr.stream(), &TM));
- // Update live variables for regA
- LiveVariables::VarInfo& varInfo = LV.getVarInfo(regA);
- varInfo.DefInst = prevMi;
-
// update live variables for regB
LiveVariables::VarInfo& varInfoB = LV.getVarInfo(regB);
// regB is used in this BB.
OpenPOWER on IntegriCloud