From: Evan Cheng Date: Mon, 14 Jul 2008 22:29:15 +0000 (+0000) Subject: Goodbye tail duplication (for good this time). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f2f218825f8041a8997cf4c5887e0b3da9c6b42;p=oota-llvm.git Goodbye tail duplication (for good this time). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53574 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 6d152a60832..1d8ce576d6a 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -264,7 +264,6 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createFunctionInliningPass()); // Inline small functions 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.