[libcxx-commits] [libcxx] reduced the number of multiplication (PR #154503)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 21 02:18:42 PDT 2026


philnik777 wrote:

I don't think this actually makes any difference. The compiler is perfectly capably of optimizing divisions with constants, probably producing the exact same sequence of instructions in the end with either version. This one is just way less readable. Closing, since there hasn't been any activity.

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


More information about the libcxx-commits mailing list