Rename DoSparseConditionalConstantProp to DoSCCP

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-06-30 06:37:01 +00:00
parent 7e02b7e600
commit d8d8c836e7

View 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