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

Eli Friedman eli.friedman at gmail.com
Mon Feb 2 13:24:24 PST 2009


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.

-Eli




More information about the llvm-commits mailing list