[llvm] [DAG] Fold urem(urem(A, BCst), Op1Cst) -> urem(A, Op1Cst) (PR #159517)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 01:25:09 PDT 2025


https://github.com/jayfoad commented:

The logic looks correct to me. But should it have a "one use" check, like was mentioned in #157644?

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


More information about the llvm-commits mailing list