[Haskell-cafe] How to make ghc 7 with llvm?

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Sat Apr 30 01:55:36 CEST 2011


Hi,

Henning Thielemann <lemming <at> henning-thielemann.de> writes:
>
> Nontheless it might be interesting to let GHC emit LLVM bitcode. As far as 
> I understand, this would enable LLVM's Link Time Optimizations.

You can already emit .ll code with -ddump-llvm. 
All LLVM tools that take .bc files as input (llc/opt/llvm-link) can also read
.ll (look at llvm/Support/IRReader.h).




More information about the Haskell-Cafe mailing list