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.