mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 17:55:18 +00:00
Order createSimplifyLibCallsPass() after a set of function level passes
so that these function passes are managed by CallGraphPassManager. llvm-svn: 33540
This commit is contained in:
parent
1bab68f592
commit
1bc45ac0c9
@ -97,7 +97,6 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
|
||||
if (!DisableInline)
|
||||
addPass(PM, createFunctionInliningPass()); // Inline small functions
|
||||
addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations
|
||||
addPass(PM, createArgumentPromotionPass()); // Scalarize uninlined fn args
|
||||
|
||||
addPass(PM, createRaisePointerReferencesPass());// Recover type information
|
||||
@ -129,6 +128,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
|
||||
addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
|
||||
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
|
||||
addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations
|
||||
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types
|
||||
addPass(PM, createConstantMergePass()); // Merge dup global constants
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user