[llvm-commits] [llvm] r130272 - in /llvm/trunk: lib/Target/X86/X86FastISel.cpp test/CodeGen/X86/fast-isel-i1.ll

Duncan Sands baldrick at free.fr
Wed Apr 27 07:27:56 PDT 2011


On 27/04/11 16:27, Eli Friedman wrote:
> On Tue, Apr 26, 2011 at 11:51 PM, Duncan Sands<baldrick at free.fr>  wrote:
>> Hi Eli,
>>
>>> +  // Note that i1 essentially gets ANY_EXTEND'ed to i8 where it isn't used
>>> +  // in an explicit cast, so make sure to handle that correctly.
>>
>> I don't understand this comment.  An i1 branch condition is zero extended to
>> i8 by the type legalizer on x86.
>
> The type legalizer isn't relevant here: fast-isel skips type
> legalization for i1's.

OK!  Thanks for explaining.

Ciao, Duncan.



More information about the llvm-commits mailing list