[llvm] [x86] Optimize urem with a constant divisor to use multiply-by-reciprocal (PR #92669)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat May 18 13:10:22 PDT 2024


topperc wrote:

It only calls __umoddi3 when compiling for 32-bit x86. For x86-64 it already uses a multiply.

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


More information about the llvm-commits mailing list