diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-09-28 00:04:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-09-28 00:04:21 +0000 |
| commit | 9f7d0d1dc53fc0bbeb5c8cb3e23f030a0a44df10 (patch) | |
| tree | cf547e56a206160361cd72a0b4722da6f19ce322 /llvm/lib/CodeGen/PHIElimination.cpp | |
| parent | 1f29e6c5c5568e1df12b74731fe6978a8f4d75a7 (diff) | |
| download | bcm5719-llvm-9f7d0d1dc53fc0bbeb5c8cb3e23f030a0a44df10.tar.gz bcm5719-llvm-9f7d0d1dc53fc0bbeb5c8cb3e23f030a0a44df10.zip | |
re-revert this patch, bisort and mst are still broken in Olden.
llvm-svn: 30634
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/PHIElimination.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 0314ae569ce..ea26bef65ae 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -64,7 +64,7 @@ namespace { /// register which is used in a PHI node. We map that to the BB the /// vreg is coming from. This is used later to determine when the vreg /// is killed in the BB. - /// + /// void analyzePHINodes(const MachineFunction& Fn); typedef std::pair<const MachineBasicBlock*, unsigned> BBVRegPair; @@ -220,7 +220,7 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB, // // Is it used by any PHI instructions in this block? - bool ValueIsLive = + bool ValueIsLive = VRegPHIUseCount[BBVRegPair( MPhi->getOperand(i).getMachineBasicBlock(), SrcReg)] != 0; @@ -326,7 +326,7 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB, /// particular, we want to map the number of uses of a virtual register which is /// used in a PHI node. We map that to the BB the vreg is coming from. This is /// used later to determine when the vreg is killed in the BB. -/// +/// void PNE::analyzePHINodes(const MachineFunction& Fn) { for (MachineFunction::const_iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) |

