This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid charging TV_EXPAND for loop initialization andfinalization
- From: Jeffrey A Law <law at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Nov 2004 16:36:55 -0700
- Subject: Re: Avoid charging TV_EXPAND for loop initialization andfinalization
- Organization: Red Hat, Inc
- References: <1101451395.13475.88.camel@localhost.localdomain> <20041129225958.GE584@redhat.com>
- Reply-to: law at redhat dot com
On Mon, 2004-11-29 at 14:59 -0800, Richard Henderson wrote:
> On Thu, Nov 25, 2004 at 11:43:15PM -0700, Jeffrey A Law wrote:
> > We are currently charging TV_EXPAND for things like look initialization
> > and finalization -- which is clearly not a good idea.
>
> Perhaps we should have a TV variable that covers all of the tree
> optimizations? Then at least they'll be charged to "misc tree opts",
> and there will be less confusion.
Not a bad idea. There's a few tree-ssa passes without their own
timevars -- all of which are being charged to TV_EXPAND right now.
jeff