[llvm-commits] [llvm] r50593 - /llvm/trunk/tools/opt/opt.cpp

Chris Lattner sabre at nondot.org
Fri May 2 15:05:07 PDT 2008


Author: lattner
Date: Fri May  2 17:05:06 2008
New Revision: 50593

URL: http://llvm.org/viewvc/llvm-project?rev=50593&view=rev
Log:
move libcalls to the same place llvm-gcc has it.

Modified:
    llvm/trunk/tools/opt/opt.cpp

Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=50593&r1=50592&r2=50593&view=diff

==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Fri May  2 17:05:06 2008
@@ -262,10 +262,10 @@
 
   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





More information about the llvm-commits mailing list