aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-18 05:04:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-18 05:04:38 +0000
commitf44c72817e3a7f517ad796705effb8d59e6a6dfa (patch)
treee16e9c042e55f03c3d984eb66d9c36cc23a4f7a2 /lib/CodeGen/PHIElimination.cpp
parentca2563d2d8719ba719b09b45ea77915ac88a2328 (diff)
VarInfo::UsedBlocks is no longer used. Remove.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index 513bfdeb25..0b77fe2669 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/lib/CodeGen/PHIElimination.cpp
@@ -163,8 +163,6 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
// Realize that the destination register is defined by the PHI copy now, not
// the PHI itself.
LV->getVarInfo(DestReg).DefInst = PHICopy;
-
- LV->getVarInfo(IncomingReg).UsedBlocks[MBB.getNumber()] = true;
}
// Adjust the VRegPHIUseCount map to account for the removal of this PHI
@@ -215,7 +213,6 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
// instruction kills the incoming value.
//
LiveVariables::VarInfo &InRegVI = LV->getVarInfo(SrcReg);
- InRegVI.UsedBlocks[opBlock.getNumber()] = true;
// Loop over all of the successors of the basic block, checking to see
// if the value is either live in the block, or if it is killed in the