Skip to content

Commit 1906c18

Browse files
[mlir][memref] Mark result memref as "strided" (llvm#135939)
We already check this in the verifier, but this makes it explicit in the Tablegen.
1 parent 1a09ffe commit 1906c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ def MemRef_ReinterpretCastOp
13721372
DenseI64ArrayAttr:$static_offsets,
13731373
DenseI64ArrayAttr:$static_sizes,
13741374
DenseI64ArrayAttr:$static_strides);
1375-
let results = (outs AnyMemRef:$result);
1375+
let results = (outs AnyStridedMemRef:$result);
13761376

13771377
let assemblyFormat = [{
13781378
$source `to` `offset` `` `:`

0 commit comments

Comments
 (0)