aboutsummaryrefslogtreecommitdiffstats
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
commit0bab1774fa87d698ca71078c08563ae18bad35c3 (patch)
tree94b3cd037d5fb6136edfd74f04bbaa30d0463a8b /tools/opt
parentcc924e372ea9af433cdd7f813fbd9283e45d87ee (diff)
downloadexternal_llvm-0bab1774fa87d698ca71078c08563ae18bad35c3.zip
external_llvm-0bab1774fa87d698ca71078c08563ae18bad35c3.tar.gz
external_llvm-0bab1774fa87d698ca71078c08563ae18bad35c3.tar.bz2
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 6d152a6..1d8ce57 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.