[llvm-commits] [llvm-gcc-4.2] r51076 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Owen Anderson resistor at mac.com
Tue May 13 15:48:22 PDT 2008


Should this be changed in opt too?

--Owen

On May 13, 2008, at 5:44 PM, Devang Patel wrote:

> Author: dpatel
> Date: Tue May 13 17:44:27 2008
> New Revision: 51076
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51076&view=rev
> Log:
> Do not run instruction combiner in middle of loop optimization passes.
>
> 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=51076&r1=51075&r2=51076&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue May 13 17:44:27 2008
> @@ -377,7 +377,6 @@
>     PM->add(createLICMPass());                  // Hoist loop  
> invariants
>     PM->add(createLoopUnswitchPass(optimize_size ? true : false));
>     PM->add(createLoopIndexSplitPass());        // Split loop index
> -    PM->add(createInstructionCombiningPass());  // Clean up after  
> LICM/reassoc
>     PM->add(createIndVarSimplifyPass());        // Canonicalize  
> indvars
>     PM->add(createLoopDeletionPass());          // Delete dead loops
>     if (flag_unroll_loops)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080513/b88fd998/attachment.bin>


More information about the llvm-commits mailing list