summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-10 04:23:32 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-10 04:23:32 +0000
commit3e62e7c68b676ecc4a56d79004ef7576b085a638 (patch)
tree24f8fe2ef999abdefc5549b4148e6afd72f2da08 /llvm/lib
parent703f7db254d9f10881a81c24c67c52625951f01a (diff)
downloadbcm5719-llvm-3e62e7c68b676ecc4a56d79004ef7576b085a638.tar.gz
bcm5719-llvm-3e62e7c68b676ecc4a56d79004ef7576b085a638.zip
Apply feedback from Chris.
llvm-svn: 19432
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/LoopExtractor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/LoopExtractor.cpp b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
index 638820e3986..4fd2335c280 100644
--- a/llvm/lib/Transforms/IPO/LoopExtractor.cpp
+++ b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
@@ -61,7 +61,7 @@ namespace {
// 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 @@ bool LoopExtractor::runOnFunction(Function &F) {
// 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();
}
OpenPOWER on IntegriCloud