llvm-project
2e612f8d - [MLIR][Arith] Improve accuracy of `inferDivU` (#113789)

Commit
338 days ago
[MLIR][Arith] Improve accuracy of `inferDivU` (#113789) 1) We can always bound the maximum with the numerator. - https://alive2.llvm.org/ce/z/PqHvuT 2) Even if denominator min can be zero, we can still bound the minimum result with `lhs.umin u/ rhs.umax`. This is similar to https://github.com/llvm/llvm-project/pull/110169
Author
Parents
Loading