[PATCH] D99517: Implemented [[clang::musttail]] attribute for guaranteed tail calls.
Paweł Bylica via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 9 04:59:55 PST 2022
chfast added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:5320
+ if (!(Cleanup && Cleanup->getCleanup()->isRedundantBeforeReturn()))
+ CGM.ErrorUnsupported(MustTailCall, "tail call skipping over cleanups");
+ }
----------------
I reported a related issue. I wander if this is easy to fix. https://github.com/llvm/llvm-project/issues/53087.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99517/new/
https://reviews.llvm.org/D99517
More information about the cfe-commits
mailing list