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

Dan Gohman gohman at apple.com
Mon May 3 16:27:05 PDT 2010


On May 3, 2010, at 3:59 PM, Eli Friedman wrote:

> 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?


It affects .ll files but not .bc files.

Dan





More information about the llvm-dev mailing list