summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-05-14 18:04:30 +0000
committerDevang Patel <dpatel@apple.com>2008-05-14 18:04:30 +0000
commit38e59eb0c728e0228cb8a7673d46f06aed3ed25c (patch)
tree524705065cb99915ef06eea6dd2859dababe247f /llvm
parent0a8a0fa0b5d2465909ac6cff7af7f3267bdeb3ac (diff)
downloadbcm5719-llvm-38e59eb0c728e0228cb8a7673d46f06aed3ed25c.tar.gz
bcm5719-llvm-38e59eb0c728e0228cb8a7673d46f06aed3ed25c.zip
Recover nestedloop regression reported by nightly tester.
llvm-svn: 51110
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/opt/opt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 301a0598fdd..e3ea59e26bf 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud