[mlir] Mark std.subview as NoSideEffect

Differential Revision: https://reviews.llvm.org/D96951
This commit is contained in:
Tres Popp 2021-02-18 14:25:57 +01:00
parent 52113451fb
commit 5b20d80a03
1 changed files with 1 additions and 1 deletions

View File

@ -2587,7 +2587,7 @@ def SubIOp : IntBinaryOp<"subi"> {
def SubViewOp : BaseOpWithOffsetSizesAndStrides< def SubViewOp : BaseOpWithOffsetSizesAndStrides<
"subview", [DeclareOpInterfaceMethods<ViewLikeOpInterface>, "subview", [DeclareOpInterfaceMethods<ViewLikeOpInterface>,
OffsetSizeAndStrideOpInterface] > { NoSideEffect, OffsetSizeAndStrideOpInterface] > {
let summary = "memref subview operation"; let summary = "memref subview operation";
let description = [{ let description = [{
The "subview" operation converts a memref type to another memref type The "subview" operation converts a memref type to another memref type