forked from OSchip/llvm-project
move libcalls to the same place llvm-gcc has it.
llvm-svn: 50593
This commit is contained in:
parent
5f56cbbf7d
commit
e3b320bd4b
|
@ -262,10 +262,10 @@ void AddStandardCompilePasses(PassManager &PM) {
|
||||||
|
|
||||||
if (!DisableInline)
|
if (!DisableInline)
|
||||||
addPass(PM, createFunctionInliningPass()); // Inline small functions
|
addPass(PM, createFunctionInliningPass()); // Inline small functions
|
||||||
addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations
|
|
||||||
addPass(PM, createArgumentPromotionPass()); // Scalarize uninlined fn args
|
addPass(PM, createArgumentPromotionPass()); // Scalarize uninlined fn args
|
||||||
|
|
||||||
addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code
|
addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code
|
||||||
|
addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations
|
||||||
addPass(PM, createInstructionCombiningPass()); // Cleanup for scalarrepl.
|
addPass(PM, createInstructionCombiningPass()); // Cleanup for scalarrepl.
|
||||||
addPass(PM, createJumpThreadingPass()); // Thread jumps.
|
addPass(PM, createJumpThreadingPass()); // Thread jumps.
|
||||||
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
|
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
|
||||||
|
|
Loading…
Reference in New Issue