diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-05-26 06:25:46 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-05-26 06:25:46 +0000 |
commit | aed4a430f4f6cc0e3ff06d458e68e5d195bbed7c (patch) | |
tree | 01bacb209d16815e1cd72c97acf11380ef7508d9 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | ab9cf1282baf559771183304ffc9959882e17ebb (diff) |
Eliminate VarInfo::UsedBlocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 6282a4ab55..3c404046f1 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/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); |