mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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:
parent
7e02b7e600
commit
d8d8c836e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user