[llvm-commits] [PATCH] Make EarlyCSE understand commutativity

Owen Anderson resistor at mac.com
Fri Sep 21 16:54:18 PDT 2012


ENOPATCH ;-)

--Owen

On Sep 21, 2012, at 4:49 PM, Michael Ilseman <milseman at apple.com> wrote:

> The attached patch and tests alter EarlyCSE to also check for commuted values. This allows EarlyCSE to replace:
> 
> t1 = fadd a, b
> t2 = fadd b, a
> 
> with:
> t1 = fadd a, b
> _______________________________________________
> 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