[llvm-commits] [PATCH] Erlang/HiPE prologue
Yiannis Tsiouris
gtsiour at softlab.ntua.gr
Tue Nov 20 08:48:19 PST 2012
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!
Best,
Yiannis
--
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: 10791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121120/8af52d0c/attachment.bin>
More information about the llvm-commits
mailing list