digitalmars.D - LLVM backend for GHC
- bearophile (5/5) May 17 2010 LLVM as back-end for a Haskell compiler:
- orgoton baberek (8/11) May 18 2010 According to http://llvm.org/docs/LangRef.html#callingconv
LLVM as back-end for a Haskell compiler: http://blog.llvm.org/2010/05/glasgow-haskell-compiler-and-llvm.html So LLVM developers are probably open for changes, for example for patches for LLVM that implement custom calling conventions used by D, etc. Bye, bearophile
May 17 2010
On 17/05/2010 11:08, bearophile wrote:LLVM as back-end for a Haskell compiler: http://blog.llvm.org/2010/05/glasgow-haskell-compiler-and-llvm.html So LLVM developers are probably open for changes, for example for patches for LLVM that implement custom calling conventions used by D, etc.According to http://llvm.org/docs/LangRef.html#callingconv "More calling conventions can be added/defined on an as-needed basis, to support Pascal conventions or any other well-known target-independent convention." Even though a calling convention may not be merged with the source tree before D increases in popularity, a LLVM D compiler may carry a patch for the calling convention with it.
May 18 2010