[Mlir-commits] [mlir] [mlir][arith] doc updates for ub semantics, and int representations (PR #72932)
Jacob Yu
llvmlistbot at llvm.org
Tue Nov 21 07:07:45 PST 2023
================
@@ -385,8 +398,9 @@ def Arith_DivUIOp : Arith_IntBinaryOp<"divui", [ConditionallySpeculatable]> {
the most significant, i.e. for `i16` given two's complement representation,
`6 / -2 = 6 / (2^16 - 2) = 0`.
- Note: the semantics of division by zero is TBD; do NOT assume any specific
- behavior.
+ Division by zero is undefined behaviour. When applied to `vector` and
----------------
pingshiyu wrote:
thanks! grepped and replaced
https://github.com/llvm/llvm-project/pull/72932
More information about the Mlir-commits
mailing list