From d8d8c836e75fc14bc9a143232d2e9ea64df8dc16 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 30 Jun 2001 06:37:01 +0000 Subject: Rename DoSparseConditionalConstantProp to DoSCCP git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar/ConstantProp.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/llvm/Transforms/Scalar/ConstantProp.h b/include/llvm/Transforms/Scalar/ConstantProp.h index bbcd609..999e7ff 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 -- cgit v1.1