This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa]: out-of-ssa breaks if something adds a pred
- From: Chris Lattner <sabre at nondot dot org>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Andrew MacLeod <amacleod at redhat dot com>, <gcc at gcc dot gnu dot org>,<dnovillo at redhat dot com>
- Date: Fri, 6 Jun 2003 15:30:41 -0500 (CDT)
- Subject: Re: [tree-ssa]: out-of-ssa breaks if something adds a pred
> > OTOH, the inserter cannot possibly know how to update the PHI nodes,
> > only
> > the caller can. If the caller doesn't know how to update the PHI
> > nodes,
> > something is seriously wrong.
>
> The inserter created the new bb and edges, it thus should know how to
> update the phi nodes.
Oh, yes, well insertion-on-edges should automatically update the PHI
nodes, because it _already has_ all of the information it needs... :)
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/