Skip to content

Commit afac5f4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def Ptr_FromPtrOp : Pointer_Op<"from_ptr", [
3131
important to note that:
3232
- The ptr-like object cannot be a `!ptr.ptr`.
3333
- The memory-space of both the `ptr` and ptr-like object must match.
34-
- The cast is side-effect free.
34+
- The cast is Pure (no UB and side-effect free).
3535

3636
If the ptr-like object type has metadata, then the operation expects the
3737
metadata as an argument or expects that the flag `trivial_metadata` is set.

0 commit comments

Comments
 (0)