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: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Andrew Macleod <amacleod at redhat dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 06 Jun 2003 16:09:27 -0400
- Subject: Re: [tree-ssa]: out-of-ssa breaks if something adds a pred
- Organization: Red Hat Canada
- References: <60EF7BC4-9858-11D7-9DAE-000A95A34564@dberlin.org>
On Fri, 2003-06-06 at 15:52, Daniel Berlin wrote:
> If a phi doesn't have an argument for a given edge, it means nothing
> needs to be done for that edge, no?
>
No, actually. The number of arguments to a PHI should always equal the
number of incoming edges. Otherwise, something's wrong. Every edge
should contribute an argument (even if all the arguments happen to be
the same SSA name).
Diego.