[haskell-llvm] Crashes in Array, Vector, DotProd
lemming at henning-thielemann.de
Tue Oct 12 07:28:38 EDT 2010
David Terei schrieb:
> 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
Attached is a patch that fixes 'add'&Co. in the way I proposed and
introduces 'iadd' and friends.
There is still a problem with BrainF that I have to fix.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Haskell-llvm