[llvm-commits] [llvm-gcc-4.2] r50683 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Devang Patel
dpatel at apple.com
Mon May 5 16:56:48 PDT 2008
Don't forget llvm-linker-hack.cpp :)
On May 5, 2008, at 4:41 PM, Owen Anderson wrote:
> Author: resistor
> Date: Mon May 5 18:41:11 2008
> New Revision: 50683
>
> URL: http://llvm.org/viewvc/llvm-project?rev=50683&view=rev
> Log:
> Enable dead loop elimination.
>
> Modified:
> llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
>
> Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=50683&r1=50682&r2=50683&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon May 5 18:41:11 2008
> @@ -379,6 +379,7 @@
> PM->add(createLoopIndexSplitPass()); // Split loop index
> PM->add(createInstructionCombiningPass()); // Clean up after
> LICM/reassoc
> PM->add(createIndVarSimplifyPass()); // Canonicalize
> indvars
> + PM->add(createLoopDeletionPass()); // Remove dead loops
> if (flag_unroll_loops)
> PM->add(createLoopUnrollPass()); // Unroll small loops
> PM->add(createInstructionCombiningPass()); // Clean up after
> the unroller
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-
Devang
More information about the llvm-commits
mailing list