[llvm-commits] [PATCH] Erlang/HiPE prologue

Yiannis Tsiouris gtsiour at softlab.ntua.gr
Tue Dec 4 03:11:08 PST 2012


On 11/20/2012 06:48 PM, Yiannis Tsiouris wrote:
> On 11/16/2012 05:19 PM, Yiannis Tsiouris wrote:
>> This is the 2nd patch we would like to submit upstream in order to add
>> proper support for Erlang.
>>
>> The scenario that this patch tries to address is:
>>
>> HiPE (native-)compiled Erlang functions have some code prepended to the
>> asm generated that computes how large a stack frame it will need for a
>> function, then compares that with the minimum available size that the
>> calling convention guarantees, and if the needed size is larger than the
>> guaranteed available size, it calls a BIF ("inc_stack_0").
>>
>> Is this "good" enough to be pushed upstream?
> Ping! :-)
>
> If the patch is rather "unusual"/wrong, please sent some comments. I 
> 'll try to address them ASAP!
Ping.
Re-attaching for convenience. :-)

-- 
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hipe-prologue.patch
Type: text/x-patch
Size: 9725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121204/d72103c4/attachment.bin>


More information about the llvm-commits mailing list