Force GC calls out of the straight line execution path
ben at smart-cactus.org
Fri Jun 17 12:00:17 UTC 2016
Harendra Kumar <harendra.kumar at gmail.com> 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
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 .
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 472 bytes
Desc: not available
More information about the ghc-devs