It's not tested anywhere, so it probably breaks all the time everywhere. :( I see code trying to support it in: X86 and PowerPC (with `grep -r TailCall lib/Target/`). On Tue, Dec 8, 2009 at 12:42 PM, Jon Harrop <jon at ffconsultancy.com> wrote:> > Which of LLVM's backends support TCO? It seems to work on x86 and x64 but what > about ARM etc.? > > -- > Dr Jon Harrop, Flying Frog Consultancy Ltd. > http://www.ffconsultancy.com/?e > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Which of LLVM's backends support TCO? It seems to work on x86 and x64 but what about ARM etc.? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e
Jeffrey Yasskin wrote:> It's not tested anywhere, so it probably breaks all the time everywhere. :(Tail calls have been working fine on x86/64 ever since I started using LLVM (2.2 IIRC), up until recently. PPC support seems to be broken, though, at least I couldn't get it to work with Pure. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de WWW: http://www.musikinformatik.uni-mainz.de/ag