[libcxx-commits] [libcxx] [libc++] Opt `std::*set` out of map key extraction optimization (PR #220452)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 2 19:19:59 PDT 2026
================
@@ -92,6 +93,16 @@ TEST_CONSTEXPR_CXX26 bool test() {
assert(std::get<1>(res));
assert(set.begin() == std::get<0>(res));
}
+ if (!TEST_IS_CONSTANT_EVALUATED) {
+ // Regression test for #220451
----------------
frederick-vs-ja wrote:
Maybe we should use the llvm.org link.
```suggestion
// Regression test for https://llvm.org/PR220451.
```
https://github.com/llvm/llvm-project/pull/220452
More information about the libcxx-commits
mailing list