CMM-to-ASM: Register allocation wierdness
Karel Gardas
karel.gardas at centrum.cz
Thu Jun 16 11:18:50 UTC 2016
On 06/16/16 12:53 PM, Harendra Kumar wrote:
> A thought that came to my mind was whether we should focus on getting
> better code out of the llvm backend or the native code generator. LLVM
> seems pretty good at the specialized task of code generation and low
> level optimization, it is well funded, widely used and has a big
> community support. That allows us to leverage that huge effort and take
> advantage of the new developments. Does it make sense to outsource the
> code generation and low level optimization tasks to llvm and ghc
> focussing on higher level optimizations which are harder to do at the
> llvm level? What are the downsides of using llvm exclusively in future?
Good reading IMHO about the topic is here:
https://ghc.haskell.org/trac/ghc/wiki/ImprovedLLVMBackend
Cheers,
Karel
More information about the Glasgow-haskell-users
mailing list