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
On Wed, 2004-09-22 at 08:42, Andrew MacLeod wrote:
> My biggest concern is that it sounds like we are trying to bypass gimple
> in order to make a slight speedup in CCP. It sounds like attaching
> REG_EQUIV notes or some such thing. since we cant change the stmt. If
> thats what were doing, Im not sure Im too keen on that idea... passing
> notes around between passes seems like bad karma. Whats it really buy
> us? or am I missing something? :-)
We're not bypassing gimple at all. We're merely allowing properties
discovered by one pass to be attached to an SSA name and allowing
other passes to query those properties. For this particular patch
the property is an equivalence between the SSA_NAME and the value
the SSA_NAME is known to have.
jeff