[llvm-commits] [llvm] r119548 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/ lib/Target/ARM/ test/CodeGen/ARM/ test/CodeGen/Thumb2/ utils/TableGen/

Evan Cheng evan.cheng at apple.com
Wed Nov 17 14:25:46 PST 2010


On Nov 17, 2010, at 1:12 PM, Anton Korobeynikov wrote:

> Hi Evan,
> 
>> --- llvm/trunk/test/CodeGen/ARM/select_xform.ll (original)
>> +++ llvm/trunk/test/CodeGen/ARM/select_xform.ll Wed Nov 17 14:13:28 2010
>> @@ -8,7 +8,8 @@
>>  ; ARM: movgt r0, r1
>> 
>>  ; T2: t1:
>> -; T2: sub.w r0, r1, #-2147483648
>> +; T2: mvn r0, #-2147483648
>> +; T2: add r0, r1
> Isn't this a regression?

It's not. Before the patch it uses two sub instructions, with the first one being the .w variant. The test just didn't look for it.

Evan

> 
> -- 
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101117/8decaf38/attachment.html>


More information about the llvm-commits mailing list