From a6275ccdf5e1aa208afde56c498e2b13e16442f0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 26 Jul 2002 21:12:46 +0000 Subject: * 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 --- lib/Transforms/Scalar/ConstantProp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/Scalar/ConstantProp.cpp') 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 X("constprop", "Simple constant propogation"); + RegisterOpt X("constprop","Simple constant propogation"); } Pass *createConstantPropogationPass() { -- cgit v1.2.3