[PATCH] Reassociate: optimize I1 + x - I2 into x when I1 and I2 are identical

Dmitri Shtilman dshtilman at icloud.com
Wed Oct 1 13:10:19 PDT 2014


Ping.
This is a really small change, very small. 

Thanks,
Dmitri

On Sep 25, 2014, at 8:10 AM, Chad Rosier <mcrosier at codeaurora.org> wrote:

> Certainly. :)
> 
> I'm a bit overwhelmed at the moment, but I hope to get to this today.
> 
> Chad
> 
>> 
>> Chad, could you take a look?
>> 
>>> On Sep 24, 2014, at 3:49 PM, Dmitri Shtilman <dshtilman at icloud.com>
>>> wrote:
>>> 
>>> Hi all,
>>> 
>>> The following small patch gives the Reassociate pass a bit more
>>> flexibility and autonomy when optimizing expressions.
>>> Particularly, it addresses cases where Reassociate breaks Subtracts but
>>> then fails to optimize combinations like I1 + -I2 where I1 and I2 have
>>> the same rank and are identical.
>>> 
>>> Please review.
>>> Dmitri
>>> 
>>> <Reassociate.patch>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> 
> 
> 




More information about the llvm-commits mailing list