[llvm-commits] Erlang/HiPE prologue

Yiannis Tsiouris gtsiour at softlab.ntua.gr
Fri Nov 16 07:19:25 PST 2012


Hi,

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?


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-diff
Size: 10791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121116/a5f2aad1/attachment.patch>


More information about the llvm-commits mailing list