[llvm-commits] [PATCH] AndOrXor Chain Optimization

Daniel Nicácio dnicacios at gmail.com
Tue Aug 16 11:54:41 PDT 2011


ping

Updated patch with revision 137728

2011/8/5 Daniel Nicácio <dnicacios at gmail.com>

> New unified diff file attached.
>
> Daniel Nicacio
>
>
> 2011/8/4 Eli Friedman <eli.friedman at gmail.com>
>
>> 2011/8/4 Daniel Nicácio <dnicacios at gmail.com>
>>
>>>  Hi, this patch increments the instcombiner pass.
>>> It adds a new XOR, OR, AND optimization, trying to find a chain of
>>> logical instructions (xor, and, or) operating on different bits of the same
>>> word. If this chain is found, it is collapsed into a single logical
>>> instruction.
>>> The figure below shows a generic example:
>>>
>>> Any comments and critics are welcome.
>>>
>>
>> Please attach a single diff containing all the changes, and please use
>> "svn diff" or some other tool that makes a unified diff.
>>
>> -Eli
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110816/97fafe09/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AndOrXorChainOpt.patch
Type: application/octet-stream
Size: 208005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110816/97fafe09/attachment.obj>


More information about the llvm-commits mailing list