[PATCH] D61665: [TailCall] Disable tail call if the callee function contain __builtin_frame_address or __builtin_return_address

Shiva Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 00:14:33 PDT 2019


shiva0217 added a comment.

In D61665#1496085 <https://reviews.llvm.org/D61665#1496085>, @asb wrote:

> Yes, I think leaving the current behaviour probably makes sense. I encountered that test failure too and mask that test on the basis that that those builtins aren't documented as being guaranteed to work https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html (that page even notes that crashing is allowable behaviour).


Hi, Alex
Thanks for the information.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61665/new/

https://reviews.llvm.org/D61665





More information about the llvm-commits mailing list