[haskell-llvm] Crashes in Array, Vector, DotProd

David Terei davidterei at gmail.com
Mon Oct 11 19:53:03 EDT 2010

On 12 October 2010 07:40, Bryan O'Sullivan <bos at serpentine.com> wrote:
> So 2.8 uses fadd for floats, and add for ints, while we have just add?

Yeah llvm-2.6 introduced new 'fadd', 'fsub' and 'fmul' operations for
floating point arithmetic. The old overloaded arithmetic operators
continued to work with integer and floating point types for 2.6 and
2.7 to allow for an easier transition but now that has been dropped in

Here is the line from the 2.6 release notes:

'The Add, Sub, and Mul operators are no longer overloaded for
floating-point types. Floating-point addition, subtraction, and
multiplication are now represented with new operators FAdd, FSub, and

More information about the Haskell-llvm mailing list