[llvm-commits] CVS: llvm/lib/Transforms/IPO/LoopExtractor.cpp

Jeff Cohen jeffc at jolt-lang.org
Sun Jan 9 20:23:42 PST 2005



Changes in directory llvm/lib/Transforms/IPO:

LoopExtractor.cpp updated: 1.16 -> 1.17
---
Log message:

Apply feedback from Chris.

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

Index: llvm/lib/Transforms/IPO/LoopExtractor.cpp
diff -u llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.16 llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.17
--- llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.16	Sat Jan  8 11:21:39 2005
+++ llvm/lib/Transforms/IPO/LoopExtractor.cpp	Sun Jan  9 22:23:32 2005
@@ -61,7 +61,7 @@
 // createLoopExtractorPass - This pass extracts all natural loops from the
 // program into a function if it can.
 //
-ModulePass *llvm::createLoopExtractorPass() { return new LoopExtractor(); }
+FunctionPass *llvm::createLoopExtractorPass() { return new LoopExtractor(); }
 
 bool LoopExtractor::runOnFunction(Function &F) {
   LoopInfo &LI = getAnalysis<LoopInfo>();
@@ -131,7 +131,7 @@
 // createSingleLoopExtractorPass - This pass extracts one natural loop from the
 // program into a function if it can.  This is used by bugpoint.
 //
-ModulePass *llvm::createSingleLoopExtractorPass() {
+FunctionPass *llvm::createSingleLoopExtractorPass() {
   return new SingleLoopExtractor();
 }
 






More information about the llvm-commits mailing list