[libcxx-commits] [libcxx] [libc++] Optimize hash table lookup (PR #230430)

Oliver Stöneberg via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 9 05:19:07 PDT 2026


firewave wrote:

Isn't this a pattern the compiler should detect and optimize?

It appears there is also an optimization issue with > `-O1` which was introduced in Clang 11: https://godbolt.org/z/GhT6zhPf3. I filed #230473 about this.

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


More information about the libcxx-commits mailing list