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

Chris Lattner lattner at cs.uiuc.edu
Sat Apr 9 09:24:34 PDT 2005



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.137 -> 1.138
---
Log message:

there is no need to remove this instruction, linscan does it already as it
removes noop moves.


---
Diffs of the changes:  (+0 -5)

 LiveIntervalAnalysis.cpp |    5 -----
 1 files changed, 5 deletions(-)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.137 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.138
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.137	Sat Apr  9 11:17:50 2005
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Sat Apr  9 11:24:20 2005
@@ -199,11 +199,6 @@
     }
   }
 
-  // If we inserted a placeholder instruction at the entry of the block, remove
-  // it now.
-  if (fn.livein_begin() != fn.livein_end())
-    fn.begin()->erase(fn.begin()->begin());
-
   DEBUG(dump());
   return true;
 }






More information about the llvm-commits mailing list