This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Change representation of bb predecessor lists
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, Ben Elliston <bje at au1 dot ibm dot com>
- Date: Mon, 19 Jul 2004 15:36:44 +0100
- Subject: Re: [patch] Change representation of bb predecessor lists
- Organization: Codesourcery LLC
- References: <20040719142233.GA5086@atrey.karlin.mff.cuni.cz>
Zdenek Dvorak wrote:
This patch changes the representation. The predecessor edges of a basic
block are kept in an array, ordering of whose elements is kept
consistent with the ordering of elements of phi nodes. This avoids
need to record the edge in the phi node argument, as well as allowing
edge <--> phi arg mapping in constant time.
why have you not used the new static type-safe vector API and instead used
the varray API (which has more overhead and is not statically
type safe)?
Also, Ben Elliston is working on this too, did you check with Ken Zadek,
Ben or others about not duplicating this effort? (Ken said *in his talk*
that someone had stepped up to do the work, that someone is Ben.)
Ben, can you comment on how your work is going?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk