[llvm-commits] [llvm] r50682 - /llvm/trunk/tools/opt/opt.cpp
Tanya Lattner
lattner at apple.com
Mon May 5 16:49:18 PDT 2008
Did the code owner for opt approve this? If so, thats fine.
Enabling optimizations with the code freeze a couple days away is not
ideal.
-Tanya
On May 5, 2008, at 4:38 PM, Owen Anderson wrote:
> Author: resistor
> Date: Mon May 5 18:38:07 2008
> New Revision: 50682
>
> URL: http://llvm.org/viewvc/llvm-project?rev=50682&view=rev
> Log:
> Enable dead loop elimination.
>
> Modified:
> llvm/trunk/tools/opt/opt.cpp
>
> Modified: llvm/trunk/tools/opt/opt.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/
> opt.cpp?rev=50682&r1=50681&r2=50682&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/tools/opt/opt.cpp (original)
> +++ llvm/trunk/tools/opt/opt.cpp Mon May 5 18:38:07 2008
> @@ -282,6 +282,7 @@
> addPass(PM, createLoopIndexSplitPass()); // Index split
> loops.
> addPass(PM, createInstructionCombiningPass()); // Clean up after
> LICM/reassoc
> addPass(PM, createIndVarSimplifyPass()); // Canonicalize
> indvars
> + addPass(PM, createLoopDeletionPass()); // Remove dead loops
> addPass(PM, createLoopUnrollPass()); // Unroll small
> loops
> addPass(PM, createInstructionCombiningPass()); // Clean up after
> the unroller
> addPass(PM, createGVNPass()); // Remove
> redundancies
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list