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: remove bb_ann_d's num_preds field


On Wed, 2004-09-29 at 12:44, Andrew MacLeod wrote:

> 
> They will have to be associated with the PHI results somehow, so either
> the vector of today, or the list of tomorrow :-)   Believe me, I have
> seriously considered trying to implement the PHI arguments as a linked
> list.  It makes keeping the immediate-use information quicker, as well
> as resolves any PHI node resizing issues, but again, more memory :-(.
My gut tells me that we don't want a separate list for PHI args.  But
I don't have a lot of info to back that up.

By far the most common things I see us doing with PHIs is to walk
all the args to determine something about the result.  Walk the
args to find a specific arg.

Walking the args to find a specific arg is rather painful right now.

Jeff


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