From: Chris Lattner Date: Sat, 30 Jun 2001 06:37:01 +0000 (+0000) Subject: Rename DoSparseConditionalConstantProp to DoSCCP X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d8d8c836e75fc14bc9a143232d2e9ea64df8dc16;p=oota-llvm.git Rename DoSparseConditionalConstantProp to DoSCCP git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar/ConstantProp.h b/include/llvm/Transforms/Scalar/ConstantProp.h index bbcd609be05..999e7ffe4d9 100644 --- a/include/llvm/Transforms/Scalar/ConstantProp.h +++ b/include/llvm/Transforms/Scalar/ConstantProp.h @@ -49,15 +49,9 @@ static inline bool DoConstantPoolMerging(Module *M) { // Sparse Conditional Constant Propogation Pass // -bool DoSparseConditionalConstantProp(Method *M); - -static inline bool DoSparseConditionalConstantProp(Module *M) { - return M->reduceApply(DoSparseConditionalConstantProp); -} - -// Define a shorter version of the name... -template bool DoSCCP(Unit *M) { - return DoSparseConditionalConstantProp(M); +bool DoSCCP(Method *M); +static inline bool DoSCCP(Module *M) { + return M->reduceApply(DoSCCP); } } // End Namespace opt