[libcxx-commits] [clang] [libcxx] [Clang] Normalize constraints before checking for satisfaction (PR #141776)

Corentin Jabot via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 11 23:50:34 PDT 2025


cor3ntin wrote:

Younan did a solid half of that patch.
We tested the changes with std::exec, ranges v3 and libc++.

There may be performance regressions in some cases in concept-heavy code bases, although we do not have definitive benchmarks. We tried to mitigate that with multiple level of caches (we cache satisfaction of declaration, satisfaction of individual constraints, and normalization).

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


More information about the libcxx-commits mailing list