Skip to content

Commit f4a8eb2

Browse files
fabianmcgjoker-eph
andauthored
Update mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
Co-authored-by: Mehdi Amini <[email protected]>
1 parent c25dd35 commit f4a8eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,8 @@ def Ptr_PtrDiffOp : Pointer_Op<"ptr_diff", [
435435

436436
The operation also supports the following flags:
437437
- `none`: No flags are set.
438-
- `nuw`: No Unsigned Wrap, if the subtraction causes an unsigned overflow,
439-
the result is a poison value.
438+
- `nuw`: No Unsigned Wrap, if the subtraction causes an unsigned overflow
439+
(that is: the result would be negative), the result is a poison value.
440440
- `nsw`: No Signed Wrap, if the subtraction causes a signed overflow, the
441441
result is a poison value.
442442

0 commit comments

Comments
 (0)