[Mlir-commits] [mlir] [mlir][ArithToLLVM] Preserve defined signed remainder by -1 (PR #233161)

Matthias Springer llvmlistbot at llvm.org
Tue Oct 20 00:36:01 PDT 2026


matthias-springer wrote:

We could change the semantics of `arith.remsi`, but make it controllable with a flag. Like an overflow flag. Discussion here: https://discourse.llvm.org/t/ub-op-semantics-of-arith-integer-division-remainder/92558


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


More information about the Mlir-commits mailing list