Rename DoSparseConditionalConstantProp to DoSCCP
authorChris Lattner <sabre@nondot.org>
Sat, 30 Jun 2001 06:37:01 +0000 (06:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 30 Jun 2001 06:37:01 +0000 (06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar/ConstantProp.h

index bbcd609be05d7c9973960a6489051c1c9f3402b2..999e7ffe4d9da2f679c5d73f46fe3731f92a2f03 100644 (file)
@@ -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 <class Unit> bool DoSCCP(Unit *M) { 
-  return DoSparseConditionalConstantProp(M); 
+bool DoSCCP(Method *M);
+static inline bool DoSCCP(Module *M) {
+  return M->reduceApply(DoSCCP);
 }
 
 }  // End Namespace opt