This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Change representation of bb predecessor lists


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]