This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix 14844/15459/21608: Forward-propagate casts that will collapse


On Tue, May 24, 2005 at 01:01:55PM +0200, Richard Guenther wrote:
> +   /* We require that the SSA_NAME holding the result of the NOP_EXPR
> +      be used only once.  That may be overly conservative in that we
> +      could propagate into multiple uses.  However, that would effectively
> +      be un-cseing the NOP_EXPR, which is probably not what we want.  */

Yes we do want to uncse the NOP_EXPR -- it's suppoesd to be a no-op,
after all.  Forwprop is not the place for this optimization.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]