[llvm-commits] [llvm] r133289 - in /llvm/trunk: lib/Target/ARM/ARMInstrInfo.td lib/Target/ARM/ARMInstrThumb2.td test/CodeGen/ARM/rev.ll

Evan Cheng evan.cheng at apple.com
Sun Jun 19 10:01:29 PDT 2011


On Jun 18, 2011, at 12:10 AM, Chris Lattner wrote:

> 
> On Jun 17, 2011, at 11:06 PM, Eli Friedman wrote:
> 
>> On Fri, Jun 17, 2011 at 9:53 PM, Chris Lattner <clattner at apple.com> wrote:
>>> 
>>> On Jun 17, 2011, at 1:47 PM, Evan Cheng wrote:
>>> 
>>>> Author: evancheng
>>>> Date: Fri Jun 17 15:47:21 2011
>>>> New Revision: 133289
>>>> 
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=133289&view=rev
>>>> Log:
>>>> Add an alternative rev16 pattern. We should figure out a better way to handle these complex rev patterns. rdar://9609108
>>> 
>>> Is rev16 just a bswap?
>> 
>> It's bswap+rotate by 16.
> 
> Ok, can/should the pattern be written in terms of bswap+rotate?

It's bswap in each halfword independently.

Evan

> 
> -Chris




More information about the llvm-commits mailing list