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

Dan Gohman gohman at apple.com
Mon May 3 15:53:19 PDT 2010


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.

Dan




More information about the llvm-dev mailing list