[llvm-dev] Tail calls and portability

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 5 05:04:19 PST 2017


On Wed, Jan 04, 2017 at 10:07:34PM -0500, Demi Obenour via llvm-dev wrote:
> 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?

Note that tail calls on PowerPC can run into the TOC-restoration issue
for non-PIC calls.

Joerg


More information about the llvm-dev mailing list