Rename DoSparseConditionalConstantProp to DoSCCP

llvm-svn: 114
This commit is contained in:
Chris Lattner 2001-06-30 06:37:01 +00:00
parent d42d492734
commit b0810f37d3
1 changed files with 3 additions and 9 deletions

View File

@ -49,15 +49,9 @@ static inline bool DoConstantPoolMerging(Module *M) {
// Sparse Conditional Constant Propogation Pass // Sparse Conditional Constant Propogation Pass
// //
bool DoSparseConditionalConstantProp(Method *M); bool DoSCCP(Method *M);
static inline bool DoSCCP(Module *M) {
static inline bool DoSparseConditionalConstantProp(Module *M) { return M->reduceApply(DoSCCP);
return M->reduceApply(DoSparseConditionalConstantProp);
}
// Define a shorter version of the name...
template <class Unit> bool DoSCCP(Unit *M) {
return DoSparseConditionalConstantProp(M);
} }
} // End Namespace opt } // End Namespace opt