[llvm-dev] Tail calls and portability

Demi Obenour via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 4 19:07:34 PST 2017


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170104/6cd0e036/attachment.html>


More information about the llvm-dev mailing list