[LLVMdev] opt -std-compile-opts breaks tail calls

Erick Tryzelaar idadesub at users.sourceforge.net
Wed Nov 11 22:33:52 PST 2009


On Wed, Nov 11, 2009 at 8:58 PM, Jon Harrop <jon at ffconsultancy.com> wrote:
>
> Is "opt" expected to honour tail calls?

I don't believe tail call elimination is on by default. Did you try
including the "-tailcallelim" option?



More information about the llvm-dev mailing list