[LLVMdev] great (detailed) article about GHC + LLVM

Renato Golin rengolin at systemcall.org
Tue Feb 23 01:49:43 PST 2010


On 22 February 2010 19:43, Chris Lattner <clattner at apple.com> wrote:
> I found this interesting:
> http://donsbot.wordpress.com/2010/02/21/smoking-fast-haskell-code-using-ghcs-new-llvm-codegen/

David Terei sent it a few days ago too, as part of another thread.
(which prevented me of sharing too) ;)

It's really interesting how the optimizations scrambled the code to a
point of non-recognition, but making it much faster. Are the generic
optimizations (also) tailored towards functional programming or was it
just coincidence/luck?


cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list