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

Yue Huang llvmlistbot at llvm.org
Sat Sep 12 00:37:11 PDT 2026


AdUhTkJm wrote:

I believe index types are intended to represent a type that never overflows, although they are usually lowered to some integer types that would overflow. So `INT_MIN / -1` doesn't overflow either.

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


More information about the Mlir-commits mailing list