[clang] [Clang] Implement `__builtin_start_lifetime_as` for C++23 P2590R2 (PR #196502)

Yash Verma via cfe-commits cfe-commits at lists.llvm.org
Sun May 10 00:03:07 PDT 2026


My-Bad-2 wrote:

> My understanding of this is that `llvm.launder.invariant.group` doesn't have the semantics that `std::start_lifetime_as` requires, and the implementation of this feature needs to wait until we have a corresponding LLVM builtin.

After a bit of research, I believe that LLVM is missing a dedicated TBAA barrier intrinsic. Shall we postpone this PR until that intrinsic is implemented and upstreamed?

https://github.com/llvm/llvm-project/pull/196502


More information about the cfe-commits mailing list