diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-04-18 05:04:38 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-18 05:04:38 +0000 |
| commit | 4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7 (patch) | |
| tree | 8ce154370a0ae20226640834923998edfa7b9f3f /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | fc40d446c907925d691006e1917328a91a0bb4a7 (diff) | |
| download | bcm5719-llvm-4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7.tar.gz bcm5719-llvm-4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7.zip | |
VarInfo::UsedBlocks is no longer used. Remove.
llvm-svn: 36250
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 9209420e3e1..b14a95e406c 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -197,10 +197,6 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { 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. - varInfoB.UsedBlocks[mbbi->getNumber()] = true; if (LV.removeVirtualRegisterKilled(regB, mbbi, mi)) LV.addVirtualRegisterKilled(regB, prevMi); |

