From 4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 18 Apr 2007 05:04:38 +0000 Subject: VarInfo::UsedBlocks is no longer used. Remove. llvm-svn: 36250 --- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp') 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); -- cgit v1.2.3