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

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:30:40 PDT 2006



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.170 -> 1.171
LiveVariables.cpp updated: 1.56 -> 1.57
---
Log message:

Eliminate RegisterAnalysis.  RegisterPass now does all that is necessary.


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

 LiveIntervalAnalysis.cpp |    2 +-
 LiveVariables.cpp        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.170 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.171
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.170	Sun Aug 27 07:47:48 2006
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Sun Aug 27 17:30:17 2006
@@ -38,7 +38,7 @@
 using namespace llvm;
 
 namespace {
-  RegisterAnalysis<LiveIntervals> X("liveintervals", "Live Interval Analysis");
+  RegisterPass<LiveIntervals> X("liveintervals", "Live Interval Analysis");
 
   static Statistic<> numIntervals
   ("liveintervals", "Number of original intervals");


Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.56 llvm/lib/CodeGen/LiveVariables.cpp:1.57
--- llvm/lib/CodeGen/LiveVariables.cpp:1.56	Fri Jul 21 16:15:20 2006
+++ llvm/lib/CodeGen/LiveVariables.cpp	Sun Aug 27 17:30:17 2006
@@ -38,7 +38,7 @@
 #include <iostream>
 using namespace llvm;
 
-static RegisterAnalysis<LiveVariables> X("livevars", "Live Variable Analysis");
+static RegisterPass<LiveVariables> X("livevars", "Live Variable Analysis");
 
 void LiveVariables::VarInfo::dump() const {
   std::cerr << "Register Defined by: ";






More information about the llvm-commits mailing list