Harendra Kumar <[email protected]> writes:

> Hi Ömer,
>
> I just checked and I do not see this behavior in 8.0.1 native code, it is
> only seen in 7.10.3. So I guess this got fixed in 8.0.
>
> How about the llvm generated code? Can we control this behavior for llvm
> generated code as well? I first noticed this in llvm generated code with
> ghc-7.10.3. I do not yet have llvm-3.7 installed to verify the same on
> 8.0.1.
>
Indeed that may be the difference. It looks like the LLVM code generator
currently ignores the expected value provided by the C-- representation.
This is pretty straightforward to fix; see D2339 [1].

Cheers,

- Ben


[1] https://phabricator.haskell.org/D2339

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to