[llvm-commits] [llvm] r63090 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.td test/CodeGen/X86/smul-with-overflow-2.ll

Chris Lattner clattner at apple.com
Mon Feb 2 13:31:01 PST 2009


On Feb 2, 2009, at 1:24 PM, Eli Friedman wrote:

> On Mon, Feb 2, 2009 at 2:07 AM, Török Edwin <edwintorok at gmail.com>  
> wrote:
>> What are the semantics of llvm.OP.with.overflow intrinsics that I  
>> keep
>> seeing lately?
>
> The first result is the same as a regular OP.  The second result is
> whether there was an overflow while calculating the result; for
> example, llvm.smul.with.overflow returns whether there was a signed
> overflow in computing the product.
>
>> LangRef makes no mention of them.
>
> They're still a work in progress... I'm sure they'll get added  
> eventually.

actually, this is a pretty bad oversight.  Bill can you please add  
these to LangRef?

-Chris



More information about the llvm-commits mailing list