aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-03-06 21:14:09 +0000
committerDevang Patel <dpatel@apple.com>2007-03-06 21:14:09 +0000
commit0f54dcbf07c69e41ecaa6b4fbf0d94956d8e9ff5 (patch)
treeac881fbcc13b5bd6063f7a764b58ea441959e755 /include/llvm/Transforms
parentedf2e8da256496c19390cfd46da80746373e9989 (diff)
downloadexternal_llvm-0f54dcbf07c69e41ecaa6b4fbf0d94956d8e9ff5.zip
external_llvm-0f54dcbf07c69e41ecaa6b4fbf0d94956d8e9ff5.tar.gz
external_llvm-0f54dcbf07c69e41ecaa6b4fbf0d94956d8e9ff5.tar.bz2
Now LoopStrengthReduce is a LoopPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Scalar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 8c6e6cc..0ce0f3f 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -20,6 +20,7 @@
namespace llvm {
class FunctionPass;
+class LoopPass;
class Pass;
class GetElementPtrInst;
class PassInfo;
@@ -120,7 +121,7 @@ FunctionPass *createLICMPass();
// optional parameter used to consult the target machine whether certain
// transformations are profitable.
//
-FunctionPass *createLoopStrengthReducePass(const TargetLowering *TLI = NULL);
+LoopPass *createLoopStrengthReducePass(const TargetLowering *TLI = NULL);
//===----------------------------------------------------------------------===//
//