[PATCH]: Add annotations for expression and constants
Daniel Berlin
dberlin@dberlin.org
Thu Jun 10 15:38:00 GMT 2004
On Jun 10, 2004, at 10:14 AM, Diego Novillo wrote:
> On Thu, 2004-06-10 at 09:38, Daniel Berlin wrote:
>
>> I'd have to create a new union or void *ify it, since it's currently a
>> union tree_ann_d *, not a void *. But i can't easily void * it
>> because it's GC'd.
>>
> OK. Creating the annotations is easier then. BTW, are you also going
> to number naked decls to commonize multiple loads from global
> variables,
> for instance?
Yes, as part of load value numbering (which is going to be a followup,
so i can get this stuff in as a starting point).
> If so, the hash value will also be needed in var_ann_d.
>
Yup.
> I'm thinking if we shouldn't just put the hash value in
> tree_common_ann_d directly.
>
Yeah.
I'll do that in the GVN-PRE patch (which actually adds the annotations)
>
> Diego.
>
More information about the Gcc-patches
mailing list