This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable jump threading on paths meeting hot paths
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 2 Feb 2017 15:48:07 +0100
- Subject: Re: Enable jump threading on paths meeting hot paths
- Authentication-results: sourceware.org; auth=none
- References: <20170125181107.GB14317@kam.mff.cuni.cz> <CAFiYyc12K=xk_XLp2bQf5VE47WpcybN6DF_zSvWT22ecw03FZw@mail.gmail.com> <20170126100425.GA60443@kam.mff.cuni.cz> <CAFiYyc3kXUfmB09zJVVUX=O7wLmfPag-M_Tv3uOhh8nCfwwfWQ@mail.gmail.com> <20170126103916.GB60443@kam.mff.cuni.cz> <2e81a817-bda6-207d-bbee-16f05a5ee42f@redhat.com> <20170202134919.GA91024@kam.mff.cuni.cz> <CAFiYyc2a_Dra73LU=uYGauNDhhwZWvT3CvdGu-mBcLJFrizq2Q@mail.gmail.com>
> > + if (!contains_hot_bb && speed_p && j < path_length - 1)
>
> j < path_length - 1 is already checked above?
>
> Otherwise looks ok. If it does fix the regression - does it?
Thanks, yes it fixes the regression.
Honza