From 5b20d80a03ba8848bb0504dd70dc46aa47037fd2 Mon Sep 17 00:00:00 2001 From: Tres Popp Date: Thu, 18 Feb 2021 14:25:57 +0100 Subject: [PATCH] [mlir] Mark std.subview as NoSideEffect Differential Revision: https://reviews.llvm.org/D96951 --- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4