summaryrefslogtreecommitdiff
path: root/tools/opt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-02 22:05:06 +0000
committerChris Lattner <sabre@nondot.org>2008-05-02 22:05:06 +0000
commit866b9e1520279303bc24b2fb4f709dc62ad7c96d (patch)
tree9a929bf3a73af64015ea1a8ecc93a8d7c383ee2f /tools/opt
parent1d9cd506774f2d51b7e7315b07fdbcc05efebe4a (diff)
downloadllvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.tar.gz
llvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.tar.bz2
llvm-866b9e1520279303bc24b2fb4f709dc62ad7c96d.tar.xz
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/opt')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 4b7dbf5106..d1862a08fc 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