aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-01-15 22:02:46 +0000
committerOwen Anderson <resistor@mac.com>2008-01-15 22:02:46 +0000
commit92a609a8e853af6edc4d5660a8451950bb2e0afb (patch)
tree2edf5577e147196bc82bcc9d4693f5b890e9155e /lib/CodeGen/PHIElimination.cpp
parent56b941f901511186342a1a4de36ce6e9c269fa2d (diff)
downloadexternal_llvm-92a609a8e853af6edc4d5660a8451950bb2e0afb.zip
external_llvm-92a609a8e853af6edc4d5660a8451950bb2e0afb.tar.gz
external_llvm-92a609a8e853af6edc4d5660a8451950bb2e0afb.tar.bz2
Remove DefInst from LiveVariables::VarInfo. Use the facilities on MachineRegisterInfo instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index 9276937..45f1c5d 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/lib/CodeGen/PHIElimination.cpp
@@ -165,10 +165,6 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
LV->addVirtualRegisterDead(DestReg, PHICopy);
LV->removeVirtualRegistersDead(MPhi);
}
-
- // 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;
}