[llvm-commits] CVS: llvm/lib/CodeGen/PHIElimination.cpp

Chris Lattner sabre at nondot.org
Wed Sep 27 17:04:36 PDT 2006



Changes in directory llvm/lib/CodeGen:

PHIElimination.cpp updated: 1.48 -> 1.49
---
Log message:

re-revert this patch, bisort and mst are still broken in Olden.



---
Diffs of the changes:  (+3 -3)

 PHIElimination.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/PHIElimination.cpp
diff -u llvm/lib/CodeGen/PHIElimination.cpp:1.48 llvm/lib/CodeGen/PHIElimination.cpp:1.49
--- llvm/lib/CodeGen/PHIElimination.cpp:1.48	Wed Sep 27 17:37:35 2006
+++ llvm/lib/CodeGen/PHIElimination.cpp	Wed Sep 27 19:04:21 2006
@@ -64,7 +64,7 @@
     /// 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 @@
     //
 
     // 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 @@
 /// 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)






More information about the llvm-commits mailing list