This is the mail archive of the gcc@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: [tree-ssa] Maintaining/representing def-use/use-def information


On Mon, 15 Dec 2003, Zdenek Dvorak wrote:

> Hello,
>
> > No, we don't.  We don't have any concept of "defining variable" or
> > "versions" at all.  Though all SSA construction papers talk about building
> > versions of source variables, once you start doing transformations, that
> > idea becomes quickly meaningless.
>
> except for ssa-pre, that requires the original variable names.  I still
> consider it an indication that there is something rotten with the
> optimization, but did not get the idea how to make it better so far.

Yes.  SSA-PRE, as presented in the papers, only works on a program which
just been just newly converted into SSA form (things like overlapping
lifetimes for "versions" of variables break it severely).

There are ways around this, but the SSAPRE papers have several fairly
severe bugs and ommissions in them.  This information is not really needed
for implementing PRE on SSA form.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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