Merge Request: LLVM Code Generator for GHC
David Terei
davidterei at gmail.com
Wed Feb 24 09:01:45 EST 2010
On 22 February 2010 23:34, Simon Marlow <marlowsd at 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.
More information about the Cvs-ghc
mailing list