[Mlir-commits] [mlir] [mlir] Compute ceildivs consistently for INT_MIN operands (PR #215696)
Hung Kuan Tseng
llvmlistbot at llvm.org
Tue Aug 11 21:55:04 PDT 2026
Tim096 wrote:
Synced the two review points from #214637 into `index::calculateCeilDivS`: check
the operand signs before the remainder, and use `quotient * m == n` in place of
`srem`, which is the multiply the `arith` expansion already uses. The two
dialects compute the ceiling the same way again.
https://github.com/llvm/llvm-project/pull/215696
More information about the Mlir-commits
mailing list