From: Tres Popp Date: Thu, 18 Feb 2021 13:25:57 +0000 (+0100) Subject: [mlir] Mark std.subview as NoSideEffect X-Git-Tag: llvmorg-14-init~14448 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b20d80a03ba8848bb0504dd70dc46aa47037fd2;p=platform%2Fupstream%2Fllvm.git [mlir] Mark std.subview as NoSideEffect Differential Revision: https://reviews.llvm.org/D96951 --- diff --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td index 82b4717..2bcae1c 100644 --- a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td +++ b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td @@ -2587,7 +2587,7 @@ def SubIOp : IntBinaryOp<"subi"> { def SubViewOp : BaseOpWithOffsetSizesAndStrides< "subview", [DeclareOpInterfaceMethods, - OffsetSizeAndStrideOpInterface] > { + NoSideEffect, OffsetSizeAndStrideOpInterface] > { let summary = "memref subview operation"; let description = [{ The "subview" operation converts a memref type to another memref type