aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-15 07:43:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-15 07:43:15 +0000
commit38503d404683830588af8ce1e67aefa1eb584f12 (patch)
tree44dc88ffba39e22703438eff1c57eb037b4188ce /tools/opt
parentff155f03bd5d4a8fbeff09ad854582a37cdaa228 (diff)
downloadexternal_llvm-38503d404683830588af8ce1e67aefa1eb584f12.zip
external_llvm-38503d404683830588af8ce1e67aefa1eb584f12.tar.gz
external_llvm-38503d404683830588af8ce1e67aefa1eb584f12.tar.bz2
Remove tail duplication pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51139 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 e3ea59e..2639a80 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.