Dan Gohman
2010-May-03 22:53 UTC
[LLVMdev] API change: add, sub, and mul no longer do floating-point
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
Eli Friedman
2010-May-03 22:59 UTC
[LLVMdev] API change: add, sub, and mul no longer do floating-point
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
Dan Gohman
2010-May-03 23:27 UTC
[LLVMdev] API change: add, sub, and mul no longer do floating-point
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
Reasonably Related Threads
- [LLVMdev] API change: add, sub, and mul no longer do floating-point
- [LLVMdev] API change: add, sub, and mul no longer do floating-point
- [LLVMdev] Upcoming API change: FAdd, FSub, FMul
- [LLVMdev] Upcoming API change: FAdd, FSub, FMul
- [LLVMdev] loop vectorizer erroneously finds 256 bit vectors