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

Michael Ilseman milseman at apple.com
Fri Sep 21 16:52:21 PDT 2012


Now, it's attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: earlycse_commute.patch
Type: application/octet-stream
Size: 1827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120921/641d52dc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commute.ll
Type: application/octet-stream
Size: 1425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120921/641d52dc/attachment-0001.obj>
-------------- next part --------------

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



More information about the llvm-commits mailing list