diff options
author | Devang Patel <dpatel@apple.com> | 2008-05-14 18:04:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-05-14 18:04:30 +0000 |
commit | 8ffe2e2156121f8a3edaacea1cf91fc2128f49a9 (patch) | |
tree | fbaa0611529f54ef1a119b9835bd46f9e2e360f2 | |
parent | 969c9d3b3969dd9ce23133d605ea44a3bb3ce90f (diff) |
Recover nestedloop regression reported by nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51110 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 301a0598fd..e3ea59e26b 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -280,6 +280,8 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createLICMPass()); // Hoist loop invariants addPass(PM, createLoopUnswitchPass()); // Unswitch loops. addPass(PM, createLoopIndexSplitPass()); // Index split loops. + // FIXME : Removing instcombine causes nestedloop regression. + addPass(PM, createInstructionCombiningPass()); addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars addPass(PM, createLoopDeletionPass()); // Delete dead loops addPass(PM, createLoopUnrollPass()); // Unroll small loops |