This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH PR45098, 7/10] Nowrap limits iterations
- From: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- To: Tom de Vries <vries at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Jun 2011 20:52:45 +0200
- Subject: Re: [PATCH PR45098, 7/10] Nowrap limits iterations
- References: <4DD3FD79.2020804@codesourcery.com> <20110518211157.GA19788@kam.mff.cuni.cz> <4DD63AE1.7070600@codesourcery.com> <20110521122407.GA22860@kam.mff.cuni.cz> <4DD7FD8F.20909@codesourcery.com> <4DE110D3.8080904@codesourcery.com> <20110530123851.GA29240@kam.mff.cuni.cz> <4DE49E91.60502@codesourcery.com> <20110531080442.GA19683@kam.mff.cuni.cz> <4DF331AF.7030406@codesourcery.com>
Hi,
> > I think a better fix would be to make the nb_iterations_upper_bound semantics
> > consistent with that of nb_iterations. Let me try to do it, hopefully this should
> > be mostly mechanical,
> >
>
> This patch changes the semantics of nb_iterations_upper_bound and
> nb_iterations_estimate, to mean: the amount of latch executions.
>
> That change is countered at all use sites, except for
> tree-ssa-loop-ivopts.c:may_eliminate_iv.
>
> Passed x86_64 bootstrapping and reg-testing.
>
> OK for trunk?
yes,
Zdenek