Identifying a block copy
Pranav Bhandarkar
pranav.bhandarkar@gmail.com
Tue Oct 9 13:39:00 GMT 2007
On 10/9/07, Daniel Berlin <dberlin@dberlin.org> wrote:
> Yes
> we do not create subvars for non-named memory locations. IE random
> pointer dereferences.
>
> This is mainly because it would require a lot of time and memory in
> the compiler.
>
> It was done because most optimizers rely solely on vdef/vuses, instead
> of further disambiguating the memory dependence chains.
ok, makes sense.
> In any case, it's not clear why you care about subvars at all here.
> If you want to identify block copies, simply look for assignments
> between AGGREGATE_TYPE_P trees.
Aha, this would be neater.
Thanks for pointing me in the right direction.
cheers!
Pranav
More information about the Gcc
mailing list