[llvm-commits] [pr12979][patch/rfc] Clear nsw/nuw in gvn

Rafael Espíndola rafael.espindola at gmail.com
Sun Jun 3 07:45:00 PDT 2012


>> * 2 and 3 in the tree
>>        0
>>       / \
>>     1   4
>>    / \
>> 2   3
>>
>> should produce 1. Anything that would alias 2 or 3 will alias 1 and
>> that is the node that alias the least. Returning 0 for example would
>> unnecessarily alias 4.
>
> did something actually change here - I thought this is what you implemented
> in your original patch?

No, the patch is not as precise. I just looks for one node being and
ancestor of the other. I will update the patch with a more precise
version.

> Ciao, Duncan.

Cheers,
Rafael




More information about the llvm-commits mailing list