This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Minor CCP improvement and add comments to tree.h
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Sep 2004 07:44:07 -0400
- Subject: Re: Minor CCP improvement and add comments to tree.h
- Organization: Red Hat Canada
- References: <1095825922.10950.400.camel@localhost.localdomain>
On Wed, 2004-09-22 at 00:05, Jeffrey A Law wrote:
> This patch updates CCP to use any recorded equivalency information
> in SSA_NAME_EQUIV to seed the CCP values array and at the end of CCP,
> we transfer any equivalences discovered by CCP into the SSA_NAME_EQUIV
> field as well.
>
Why not use SSA_NAME_VALUE? PRE uses to store value handles, CCP and
copy-prop (will) use it for storing constant/copies. Adding another
field to tree_ssa_name doesn't seem like a good idea.
Diego.