aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-05-14 00:26:11 +0000
committerDevang Patel <dpatel@apple.com>2008-05-14 00:26:11 +0000
commit0d1b51130e73d5ebbcc8ea89fbd629a49484bdd8 (patch)
tree0c0828a57e927502bdddfbad67157193e2020e74 /tools/opt
parent664b5164b70de01c1957caf7f277ee18463a5e4a (diff)
downloadexternal_llvm-0d1b51130e73d5ebbcc8ea89fbd629a49484bdd8.zip
external_llvm-0d1b51130e73d5ebbcc8ea89fbd629a49484bdd8.tar.gz
external_llvm-0d1b51130e73d5ebbcc8ea89fbd629a49484bdd8.tar.bz2
Do not run instruction combiner in middle of loop optimization passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51084 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 f9dd161..301a059 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -280,7 +280,6 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
addPass(PM, createLoopIndexSplitPass()); // Index split loops.
- addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createLoopDeletionPass()); // Delete dead loops
addPass(PM, createLoopUnrollPass()); // Unroll small loops