[llvm-dev] Tail calls and portability
Dan Gohman via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 4 20:52:54 PST 2017
The current version of the WebAssembly ISA doesn't support tail calls. It
is likely that support will be added in future versions.
Dan
On Jan 4, 2017 8:34 PM, "Mehdi Amini" <mehdi.amini at apple.com> wrote:
As a general “good practice", you should answer to your own thread you
started this morning instead of starting a new one with little difference:
http://lists.llvm.org/pipermail/llvm-dev/2017-January/108678.html
+CC WebAssembly folks to make sure they don’t miss this question.
—
Mehdi
> On Jan 4, 2017, at 7:07 PM, Demi Obenour via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
> I have been working on adding proper tail (via `become`) to rustc. I was
able to make them work (some parts of the type checker aren't implemented
yet). However, I ran into an LLVM-related problem.
>
> LLVM claims to support proper tail calls when fastcc is used — but only
on i386, x86-64 and PowerPC. Is this accurate? Will proper tail calls be
supported on WebAssembly? Are they supported on ARM? AArch64? Other
backends?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170104/db4d9dc4/attachment.html>
More information about the llvm-dev
mailing list