From 4982babf4a2ae663ab841bd7f456078a306ad450 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Sat, 10 May 2008 07:10:24 +0000 Subject: [PATCH] Re-enable loop deletion by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50941 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/opt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index d1862a08fcf..f9dd161c757 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -282,6 +282,7 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createLoopIndexSplitPass()); // Index split loops. addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars + addPass(PM, createLoopDeletionPass()); // Delete dead loops addPass(PM, createLoopUnrollPass()); // Unroll small loops addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller addPass(PM, createGVNPass()); // Remove redundancies