[llvm-branch-commits] [clang] [llvm] [Clang][CodeGen] Implement code generation for __builtin_infer_alloc_token() (PR #156842)

Marco Elver via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 15 15:11:36 PDT 2025


melver wrote:

> I'll take another stab at this one now, and see if I can make it constexpr, too. [..]

Alright, so I reworked the whole thing. Making it constexpr meant sharing more of the token calculation logic. We now have this series to make the builtin work also in constexpr:

1. https://github.com/llvm/llvm-project/pull/163632
2. https://github.com/llvm/llvm-project/pull/163633
3. https://github.com/llvm/llvm-project/pull/163634
4. https://github.com/llvm/llvm-project/pull/163635
5. https://github.com/llvm/llvm-project/pull/163636
6. https://github.com/llvm/llvm-project/pull/163638
7. https://github.com/llvm/llvm-project/pull/163639
8. https://github.com/llvm/llvm-project/pull/156842

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


More information about the llvm-branch-commits mailing list