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

Eli Friedman eli.friedman at gmail.com
Wed Apr 27 07:27:07 PDT 2011


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.

-Eli




More information about the llvm-commits mailing list