[LLVMbugs] [Bug 16742] zeroext i1 returning functions don't get TCO

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 28 18:05:55 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16742

Nick Lewycky <nlewycky at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Nick Lewycky <nlewycky at google.com> ---
This was fixed a while ago, but we forgot to close this bug.


$ echo 'bool g(); bool f() { return g(); }' | clang -x c++ - -S -o - -O2
    .file    "-"
    .text
    .globl    _Z1fv
    .align    16, 0x90
    .type    _Z1fv, at function
_Z1fv:                                  # @_Z1fv
    .cfi_startproc
# BB#0:                                 # %entry
    jmp    _Z1gv                   # TAILCALL
.Ltmp0:
    .size    _Z1fv, .Ltmp0-_Z1fv
    .cfi_endproc


    .section    ".note.GNU-stack","", at progbits

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130929/39f55221/attachment.html>


More information about the llvm-bugs mailing list