diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-02 22:05:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-02 22:05:06 +0000 |
commit | 6fd5fe94ff9532fd4347ebf62b3268d438c31db3 (patch) | |
tree | 9a929bf3a73af64015ea1a8ecc93a8d7c383ee2f /tools | |
parent | 1b9fb1f4382238ee81e16c59200b1a643869f260 (diff) | |
download | external_llvm-6fd5fe94ff9532fd4347ebf62b3268d438c31db3.zip external_llvm-6fd5fe94ff9532fd4347ebf62b3268d438c31db3.tar.gz external_llvm-6fd5fe94ff9532fd4347ebf62b3268d438c31db3.tar.bz2 |
move libcalls to the same place llvm-gcc has it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 4b7dbf5..d1862a0 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -262,10 +262,10 @@ void AddStandardCompilePasses(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, createTailDuplicationPass()); // Simplify cfg by copying code + addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations addPass(PM, createInstructionCombiningPass()); // Cleanup for scalarrepl. addPass(PM, createJumpThreadingPass()); // Thread jumps. addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs |