aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitfd067390443943f4d101f8ed063e95b218ed2d8e (patch)
tree9c97442c800c202c21f4ead244b75e4d758c94c6 /tools
parent834db06006f627a6af3beabf8ce49643658f26af (diff)
downloadexternal_llvm-fd067390443943f4d101f8ed063e95b218ed2d8e.zip
external_llvm-fd067390443943f4d101f8ed063e95b218ed2d8e.tar.gz
external_llvm-fd067390443943f4d101f8ed063e95b218ed2d8e.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')
-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