[LLVMdev] API change: add, sub, and mul no longer do floating-point

Eli Friedman eli.friedman at gmail.com
Mon May 3 15:59:16 PDT 2010


On Mon, May 3, 2010 at 3:53 PM, Dan Gohman <gohman at apple.com> wrote:
> Quick heads up: On LLVM trunk, the add, sub, and mul instructions no
> longer accept floating-point operands. The fadd, fsub, and fmul instructions
> should be used instead.
>
> This change actually happened back in LLVM 2.6; since then, LLVM has just
> been silently converting add into fadd and so on, and the change today is
> that it no longer does this silent conversion.

Does this affect backwards-compatibility for .bc and/or .ll files?

-Eli



More information about the llvm-dev mailing list