> Most of the work will probably be in porting our calling convention, which does not resemble C's in any way. Like many frameworks, it's a modular compiler framework for building C compilers, not really a modular compiler framework for all types of compilers.
GHC folks succeeded in including GHC calling convention in LLVM, so there is hope.
Yes, we're familiar with that work. One technical bit of interest is that we don't use the C stack at all (we have heap-allocated continuation records), so we're curious how that will play out with the calling convention even beyond the issue with registers.
That said, we're still hopeful that we can make things work, though we're not optimistic that it will come about without some significant tweaking.
GHC folks succeeded in including GHC calling convention in LLVM, so there is hope.
http://blog.llvm.org/2010/05/glasgow-haskell-compiler-and-ll...