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: PR 23551: why should we coalesce inlined variables?


On 7/9/07, Alexandre Oliva <aoliva@redhat.com> wrote:
On Jul 9, 2007, Michael Matz <matz@suse.de> wrote:

> As some people said multiple times here, you can simply attach multiple
> variables to one SSA name.

Attaching the variables is just not enough.  You have to attach the
assignment points as well.  And I haven't see you address that at all,
even though it is a necessary part of the infrastructure.


Uh, this is simple. each ssa name has a unique version number. Each ssa name has a single definition statement. Attaching the assignment points is as simple as setting a bitmap in the bitmap for the version number. To recover, SSA_NAME_DEF_STMT (ssa_name (bit index))


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