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
commit81a1d08cb77fb71c9a0f5c8547c50339bac53845 (patch)
tree0c0828a57e927502bdddfbad67157193e2020e74 /tools/opt
parent45b3197090afedf2d19eb0b73115207343cbb2ae (diff)
downloadexternal_llvm-81a1d08cb77fb71c9a0f5c8547c50339bac53845.zip
external_llvm-81a1d08cb77fb71c9a0f5c8547c50339bac53845.tar.gz
external_llvm-81a1d08cb77fb71c9a0f5c8547c50339bac53845.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