[llvm-dev] Tail calls and portability

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 4 20:34:48 PST 2017


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



More information about the llvm-dev mailing list