[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.
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:
+CC WebAssembly folks to make sure they don’t miss this question.
> 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
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev