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

Shivam Gupta via llvm-commits llvm-commits at lists.llvm.org
Sat May 18 13:26:20 PDT 2024


xgupta wrote:

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

Thanks for the information, in that case these changes are not required since there are not many 32 bit systems.

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


More information about the llvm-commits mailing list