summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-26 21:12:46 +0000
committerChris Lattner <sabre@nondot.org>2002-07-26 21:12:46 +0000
commitc8b7092e54f117ce6377568a9e3e0d5edc48392c (patch)
tree6d71fb1fd09ee03f284867bfe148bc81eb42879b /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
parenta2c098598058ae8466f6141804fdba50b758b0fd (diff)
downloadbcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.tar.gz
bcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.zip
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 35fe697f0f9..411ab11fece 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -198,7 +198,7 @@ namespace {
AU.preservesCFG();
}
};
- RegisterPass<InductionVariableSimplify> X("indvars",
+ RegisterOpt<InductionVariableSimplify> X("indvars",
"Cannonicalize Induction Variables");
}
OpenPOWER on IntegriCloud