[llvm] [InstCombine] Simplify `(X / C0) * C1 + (X % C0) * C2` to `(X / C0) * (C1 - C2 * C0) + X * C2` (PR #76285)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 23:40:32 PDT 2024


https://github.com/nikic approved this pull request.

LGTM

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


More information about the llvm-commits mailing list