summaryrefslogtreecommitdiff
path: root/tools/opt
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-07-14 22:29:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-07-14 22:29:15 +0000
commit5f2f218825f8041a8997cf4c5887e0b3da9c6b42 (patch)
tree94b3cd037d5fb6136edfd74f04bbaa30d0463a8b /tools/opt
parentd28516e3b1c9e2aa982bf017574f62850a153b24 (diff)
downloadllvm-5f2f218825f8041a8997cf4c5887e0b3da9c6b42.tar.gz
llvm-5f2f218825f8041a8997cf4c5887e0b3da9c6b42.tar.bz2
llvm-5f2f218825f8041a8997cf4c5887e0b3da9c6b42.tar.xz
Goodbye tail duplication (for good this time).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 6d152a6083..1d8ce576d6 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.