[llvm-commits] [llvm] r105305 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Eli Friedman eli.friedman at gmail.com
Wed Jun 2 02:21:52 PDT 2010


On Wed, Jun 2, 2010 at 12:07 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Eli,
>
>> Don't try to custom-lower 64-bit add-with-overflow and friends on x86-32; the
>> x86 backend currently doesn't know how to handle them.
>>
>> This doesn't really fix anything because LegalizeTypes doesn't know how to
>> handle them either.  We do get a better error message, though.
>
> LegalizeTypes has code for legalizing add-with-overflow, so I'm surprised it
> doesn't work.

It has code for promoting them, but not expanding them.

-Eli




More information about the llvm-commits mailing list