This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] combine: Delete EQ* notes when pseudo mode changes (PR60818)
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 Feb 2016 05:43:54 -0600
- Subject: Re: [PATCH] combine: Delete EQ* notes when pseudo mode changes (PR60818)
- Authentication-results: sourceware.org; auth=none
- References: <71ce2561d2dd574e38b062a094f4ce41cac21a84 dot 1455873752 dot git dot segher at kernel dot crashing dot org> <1866788 dot QrLM6i8spP at polaris> <20160219103731 dot GA21611 at gate dot crashing dot org> <2273932 dot axMRkiNLzf at polaris>
On Fri, Feb 19, 2016 at 12:04:17PM +0100, Eric Botcazou wrote:
> > Do you have something smaller in mind that still works? I'm all ears.
>
> Try to adjust the notes instead of dropping them?
As far as I can see that is very hard to do though, and not really worth
it -- the notes can contain an arbitrary expression in general.
Not for stage 4 certainly.
> > But it never adds or moves these notes. It even says so :-)
>
> Right, but try_combine can do it, see line 4294 and below.
That moves those notes to i2notes, and then distribute_notes drops them?
Segher