[Mlir-commits] [mlir] [mlir][Index] Fix INT_MIN overflow in CeilDivSOp constant folding (PR #223127)

Cheng-Chieh Liu llvmlistbot at llvm.org
Sat Sep 12 02:49:36 PDT 2026


jay87406 wrote:

Good point — updated. Switched the doc comment example to `ceildivs(INT_MIN, 2)` (which is representable and what the patch actually fixes). Kept a brief `(e.g. INT_MIN / -1)` on the `sdiv_ov` check itself since that's what actually triggers the overflow.

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


More information about the Mlir-commits mailing list