From 7061ee968ce148a76f6211cbc54854d05657969e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 26 May 2009 06:25:46 +0000 Subject: Eliminate VarInfo::UsedBlocks. llvm-svn: 72411 --- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp') 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); -- cgit v1.2.3