aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-28 00:04:21 +0000
committerChris Lattner <sabre@nondot.org>2006-09-28 00:04:21 +0000
commit31cefb99431a10ced8660b14c61fc2ad6b172f75 (patch)
treeb054dd20ee4d6650b25605bbe16dd975ab885536 /lib/CodeGen/PHIElimination.cpp
parent4da1abb311b424d581cc1a67cde3aa0233da99b5 (diff)
re-revert this patch, bisort and mst are still broken in Olden.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index 0314ae569c..ea26bef65a 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/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)