We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25dd35 commit f4a8eb2Copy full SHA for f4a8eb2
mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
@@ -435,8 +435,8 @@ def Ptr_PtrDiffOp : Pointer_Op<"ptr_diff", [
435
436
The operation also supports the following flags:
437
- `none`: No flags are set.
438
- - `nuw`: No Unsigned Wrap, if the subtraction causes an unsigned overflow,
439
- the result is a poison value.
+ - `nuw`: No Unsigned Wrap, if the subtraction causes an unsigned overflow
+ (that is: the result would be negative), the result is a poison value.
440
- `nsw`: No Signed Wrap, if the subtraction causes a signed overflow, the
441
result is a poison value.
442
0 commit comments