[llvm] [InstCombine] Fold srem comparisons with the dividend into range checks (PR #215096)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 02:35:56 PDT 2026


jihwan38 wrote:

Applied the matcher suggestion and shortened the PR description. I also rebuilt opt and ran the affected test (icmp-srem.ll), check-llvm-transforms-instcombine, and check-llvm-transforms; all passed.

 @dtcxzyw, I don’t have commit access yet. If no further review is needed, would you mind landing this when convenient? Thanks!

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


More information about the llvm-commits mailing list