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 | 866b9e1520279303bc24b2fb4f709dc62ad7c96d (patch) | |
tree | 9a929bf3a73af64015ea1a8ecc93a8d7c383ee2f /tools | |
parent | 1d9cd506774f2d51b7e7315b07fdbcc05efebe4a (diff) | |
download | external_llvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.zip external_llvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.tar.gz external_llvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.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 |