forked from OSchip/llvm-project
Rename DoSparseConditionalConstantProp to DoSCCP
llvm-svn: 114
This commit is contained in:
parent
d42d492734
commit
b0810f37d3
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue