[LLVMdev] Request for merge: GHC/ARM calling convention.

Karel Gardas karel.gardas at centrum.cz
Tue Oct 18 12:57:55 PDT 2011

Hello Bill,

could you be so kind and reconsider merge of GHC/ARM calling convention 
patch which is submitted here: 

I'm just patch submitter and little tweaker. Original patch was 
developed by David Terei for x86 and ported/retargeted for ARM by 
Stephen Blackheath. We (at least Stephen and me) are using it happily 
with GHC HEAD to compile Haskell code for ARM (and also on ARM).

I've submitted the patch last possible day for inclusion in LLVM 3.0 
release in a hope it's simple enough for code review and inclusion. 
Unfortunately the patch raised some question by Duncan which I've not 
been able to explain fully. Later David Terei stepped in and explained 
everything as I understand the email conversation.

As this patch is simple enough and should not affect LLVM code 
generation when not used in cooperation with GHC also it changes just 
one LLVM architecture (ARM), I still hope it might be merged for 3.0 

If it adds to motivation: GHC HEAD already contains all needed support 
for it so if the patch is merged it'll easy life of GHC 7.4.x (future) 
release users on ARM hardware.

Thanks again for consideration!

On 10/18/11 08:44 PM, Anton Korobeynikov wrote:
> Hi David,
>> Any word on this making 3.0?
> 3.0 already branched, and since this is not a regression, this will
> most probably go into 3.1.
> Maybe Bill (CC'ed) being the release manager has other opinion on this.

More information about the llvm-dev mailing list