[libcxx-dev] libcxx __hash_table constrain_hash
Jonathan Roelofs via libcxx-dev
libcxx-dev at lists.llvm.org
Thu Sep 10 13:13:31 PDT 2020
Do you happen to remember which benchmarks you were looking at when you added the optimization here ? With aggressive if-conversion, those two optimizations are really only increasing the critical path, rather than providing the intended early exit fast-path. I’m wondering if we ought to conditionally apply these optimizations in the compiler instead, where we know whether if-conversion is likely to negate the gains.
More information about the libcxx-dev