[llvm] [CGP] [CodeGenPrepare] Folding `urem` with loop invariant value plus offset (PR #104724)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 12:08:43 PDT 2024


nikic wrote:

@dtcxzyw Does this pattern exist?

I can imagine the `add` variant might, but `sub` and `or disjoint` are unnecessary generalization.


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


More information about the llvm-commits mailing list