On 22 February 2010 23:34, Simon Marlow <marlo...@gmail.com> wrote:
> I presume the calling-convention changes can be made in an acceptable way,
> by defining a new calling convention rather than modifying the exisitng C
> one?  Does LLVM allow new calling conventions to be defined dynamically,
> without patchig LLVM itself?

No it doesn't, only really optimiser passes can be loaded in
dynamically. I've just finished changing the patch though so that it
defines a new calling convention instead of stealing an existing C one
for that purpose, I've tested it and its working well with GHC, now
need to check it does what its meant to and doesn't break the rest of
LLVM. Will post it to this list soon and also post it to LLVM to get a
discussion going about inclusion.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to