[clang] [clang][bytecode] Use tailcalls via `[[clang::musttail]]` (PR #173756)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 2 19:20:54 PST 2026
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/173756 at github.com>
Sirraide wrote:
> Looking at the build output of the builds in the compile-time-tracker, it doesn't seem like using the musttail attribute does much
In release mode I’d optimise every sensible compiler to optimise this regardless; the main thing I’m concerned about is that we might start getting stack overflows in debug mode if we don’t force a tail call here
https://github.com/llvm/llvm-project/pull/173756
More information about the cfe-commits
mailing list