Re: [GHC] #4213: LLVM: Add support for TNTC to LLVM compiler suite

Now LLVM-compiled 64-bit code [https://ghc.haskell.org/trac/ghc/ticket/8974 segfaults on Windows]. I've
#4213: LLVM: Add support for TNTC to LLVM compiler suite -------------------------------------+------------------------------------ Reporter: dterei | Owner: dterei Type: feature request | Status: new Priority: low | Milestone: 7.6.2 Component: Compiler (LLVM) | Version: 6.13 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by altaic): Replying to [comment:26 awson]: prepared the patch, but [https://ghc.haskell.org/trac/ghc/ticket/8974#comment:10 I don't know the way to implement it without mangler] because LLVM does not want to silently truncate 64-bit address constant to 32-bit but bitwise ands it with `-1` (`&-1`) also. Ah, my apologies, I'm not sure why your ticket didn't appear on my trac query. LLVM does have a {{{trunc .. to}}} instruction, which may be of use to you, though admittedly I don't really know what's going on in your ticket. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4213#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC