summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-09-04 20:46:58 +0000
committerDevang Patel <dpatel@apple.com>2007-09-04 20:46:58 +0000
commit42e2abe0e8b1e6758d466a30c5d88e4592bb686a (patch)
tree7619a5c4bbabc7e3b4516d4ed8bbdb2ae8f0e2f4 /llvm/tools
parentf6ef552f3de2dd01227e0741b262ce0ff8b1c51c (diff)
downloadbcm5719-llvm-42e2abe0e8b1e6758d466a30c5d88e4592bb686a.tar.gz
bcm5719-llvm-42e2abe0e8b1e6758d466a30c5d88e4592bb686a.zip
Enable loop index split pass.
llvm-svn: 41714
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 4eca3084257..e990c7f65e5 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -277,6 +277,7 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createLoopRotatePass());
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, createLoopUnrollPass()); // Unroll small loops
OpenPOWER on IntegriCloud