summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-26 06:25:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-26 06:25:46 +0000
commit7061ee968ce148a76f6211cbc54854d05657969e (patch)
tree995ce3f531bcfef1e398ad20b3740c9ec6a6fc1f /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parent00a2759ca98e53daf2bad21ead8b4209f2858246 (diff)
downloadbcm5719-llvm-7061ee968ce148a76f6211cbc54854d05657969e.tar.gz
bcm5719-llvm-7061ee968ce148a76f6211cbc54854d05657969e.zip
Eliminate VarInfo::UsedBlocks.
llvm-svn: 72411
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index 6282a4ab554..3c404046f15 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -955,11 +955,6 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
// Update live variables for regB.
if (LV) {
- LiveVariables::VarInfo& varInfoB = LV->getVarInfo(regB);
-
- // regB is used in this BB.
- varInfoB.UsedBlocks[mbbi->getNumber()] = true;
-
if (LV->removeVirtualRegisterKilled(regB, mi))
LV->addVirtualRegisterKilled(regB, prevMI);
OpenPOWER on IntegriCloud