Tail calls not working with LLVM 2.8

I just upgraded HLVM from LLVM 2.7 to 2.8 and started seeing stack overflows
so I think TCO isn't working. Have there been any obvious changes that would
cause this?

Jon Harrop wrote:

I just upgraded HLVM from LLVM 2.7 to 2.8 and started seeing stack overflows
so I think TCO isn't working. Have there been any obvious changes that would
cause this?

FWIW, Pure uses TCO as well and that works fine with LLVM 2.8, both with
the JIT and with statically compiled code, at least on x86_64.

Thanks. TCO seems to be broken in HLVM only when using JIT compilation and
at least on x86. I think the only change I've made is to upgrade from add to
fadd etc. for floating point arithmetic. :frowning:

Cheers,
Jon.