[LLVMdev] bug of tail call optimization on x86 target

Katsuhiro Ueno katsu at riec.tohoku.ac.jp
Fri Aug 2 20:08:29 PDT 2013


Hi Tim,

Thank you for your quick response.

> I'm not convinced that's the best solution, at least conceptually.
> SlotSize really is an unsigned quantity, and though it's unlikely we'd
> like 0x80000000 to be interpreted as positive, rather than negative if
> it ever does occur.

I totally agree with you.
I rewrote my fix and made a test case according to your suggestion.
All of them are included in the attached file.

Thanks and regards,

Katsuhiro Ueno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86-tailcallopt-fix-2.diff
Type: application/octet-stream
Size: 2947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130803/901297c7/attachment.obj>


More information about the llvm-dev mailing list