Skip to content

Commit 1fbbd81

Browse files
committed
address reviewer comments
1 parent f60e74b commit 1fbbd81

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

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

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ include "mlir/IR/OpBase.td"
2323
def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
2424
let description = [{
2525
This interface defines a common API for interacting with the memory model of
26-
a memory space and the operations in the pointer dialect, giving proper
27-
semantical meaning to the ops.
26+
a memory space and the operations in the pointer dialect.
2827

2928
Furthermore, this interface allows concepts such as read-only memory to be
3029
adequately modeled and enforced.
@@ -124,19 +123,4 @@ def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
124123
];
125124
}
126125

127-
def MemorySpaceOpInterface : OpInterface<"MemorySpaceOpInterface"> {
128-
let description = [{
129-
An interface for operations with a memory space.
130-
}];
131-
132-
let cppNamespace = "::mlir::ptr";
133-
134-
let methods = [
135-
InterfaceMethod<
136-
/*desc=*/ "Returns the memory space of the op.",
137-
/*returnType=*/ "::mlir::ptr::MemorySpaceAttrInterface",
138-
/*methodName=*/ "getMemorySpace"
139-
>,
140-
];
141-
}
142126
#endif // PTR_MEMORYSPACEINTERFACES

0 commit comments

Comments
 (0)