This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix RTL DSE (PR rtl-optimization/68955, take 2)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Jan 2016 13:13:47 +0100
- Subject: Re: [PATCH] Fix RTL DSE (PR rtl-optimization/68955, take 2)
- Authentication-results: sourceware.org; auth=none
- References: <20160116002658 dot GH3017 at tucnak dot redhat dot com> <1601035 dot PkGBip0Ong at polaris> <20160119115212 dot GJ3017 at tucnak dot redhat dot com>
> So shall I take out the CONST_WIDE_INT/CONST_DOUBLE handling and just
> check for CONST_INT_P instead of CONST_SCALAR_INT_P ? I thought it is just
> easy thing to handle, though for DSE which cares about addresses it really
> does not matter. Or can I leave it in?
Your call.
> DSE will only care about CONST_INT and +. For minus, I thought it can be
> canonical for the minimum signed value, if it is originally subtracted (not
> the case for DSE).
OK. And var-tracking also manipulates MINUS - CONST_INTs coming from stack
decrements.
--
Eric Botcazou