diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-17 19:13:56 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-17 19:13:56 +0000 |
commit | 1bf1691ed3bf4cb16ea221f062f1bb978fc8ea9d (patch) | |
tree | fd4ae94fb33e196f0a27ccc81b98af12bad4689c /lib/CodeGen/PHIElimination.cpp | |
parent | f3047cdbd4b729015fd6b0f64cfc5a861a6f6a2c (diff) | |
download | external_llvm-1bf1691ed3bf4cb16ea221f062f1bb978fc8ea9d.zip external_llvm-1bf1691ed3bf4cb16ea221f062f1bb978fc8ea9d.tar.gz external_llvm-1bf1691ed3bf4cb16ea221f062f1bb978fc8ea9d.tar.bz2 |
Dead code elimination.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r-- | lib/CodeGen/PHIElimination.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index b740c68..bc49d0d 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/lib/CodeGen/PHIElimination.cpp @@ -56,7 +56,6 @@ bool llvm::PHIElimination::runOnMachineFunction(MachineFunction &Fn) { MRI = &Fn.getRegInfo(); PHIDefs.clear(); - PHIKills.clear(); bool Changed = false; // Split critical edges to help the coalescer @@ -276,9 +275,6 @@ void llvm::PHIElimination::LowerAtomicPHINode( // path the PHI. MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); - // Record the kill. - PHIKills[SrcReg].insert(&opBlock); - // If source is defined by an implicit def, there is no need to insert a // copy. MachineInstr *DefMI = MRI->getVRegDef(SrcReg); |