aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/opt.cpp
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
commit305743df72c646e276a74d9046a75624754f48b7 (patch)
tree9c97442c800c202c21f4ead244b75e4d758c94c6 /tools/opt/opt.cpp
parentd24e5992e93f08c37d1b13a494d22142ce469f81 (diff)
downloadexternal_llvm-305743df72c646e276a74d9046a75624754f48b7.zip
external_llvm-305743df72c646e276a74d9046a75624754f48b7.tar.gz
external_llvm-305743df72c646e276a74d9046a75624754f48b7.tar.bz2
Enable loop index split pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 4eca308..e990c7f 100644
--- a/tools/opt/opt.cpp
+++ b/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