Skip to content

Commit 2e5ff23

Browse files
committed
address reviewer comments
1 parent e70b0f2 commit 2e5ff23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,10 @@ def MemRef_MemorySpaceCastOp : MemRef_Op<"memory_space_cast", [
13071307

13081308
If the source and target address spaces are the same, this operation is a noop.
13091309

1310+
Finally, if the target memory-space is the generic/default memory-space,
1311+
then it is assumed this cast can be bubbled down safely. See the docs of
1312+
`MemorySpaceCastOpInterface` interface for more details.
1313+
13101314
Example:
13111315

13121316
```mlir

0 commit comments

Comments
 (0)