[LLVMdev] Broke my tail (call)

Duncan Sands baldrick at free.fr
Sun Feb 22 12:36:52 PST 2009


Hi Jon,

> I have written a variety tests of tail calls for my HLVM and all passed with 
> flying colors until I wrote this test (which is actually for algebraic 
> datatypes) and discovered that it segfaults after ~100k iterations through 
> what I think should be a tail call. Here's the IR:

is this really a tail call?  I didn't look closely but at a glance it seems to
be passing a local stack variable as a call parameter.

Ciao,

Duncan.



More information about the llvm-dev mailing list