summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ConstantProp.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
commita6275ccdf5e1aa208afde56c498e2b13e16442f0 (patch)
tree2d1245344fa06c38f7d6a9cd21649b6927d25307 /lib/Transforms/Scalar/ConstantProp.cpp
parent1e43516dcf4aa152432447397334cd43744d63e1 (diff)
downloadllvm-a6275ccdf5e1aa208afde56c498e2b13e16442f0.tar.gz
llvm-a6275ccdf5e1aa208afde56c498e2b13e16442f0.tar.bz2
llvm-a6275ccdf5e1aa208afde56c498e2b13e16442f0.tar.xz
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ConstantProp.cpp')
-rw-r--r--lib/Transforms/Scalar/ConstantProp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp
index 025b8a79b2..5da909e202 100644
--- a/lib/Transforms/Scalar/ConstantProp.cpp
+++ b/lib/Transforms/Scalar/ConstantProp.cpp
@@ -31,7 +31,7 @@ namespace {
}
};
-RegisterPass<ConstantPropogation> X("constprop", "Simple constant propogation");
+ RegisterOpt<ConstantPropogation> X("constprop","Simple constant propogation");
}
Pass *createConstantPropogationPass() {