diff --git a/third_party/mlir/include/mlir/Dialect/StandardOps/Ops.td b/third_party/mlir/include/mlir/Dialect/StandardOps/Ops.td index f9787c69bb7..bfd3916d870 100644 --- a/third_party/mlir/include/mlir/Dialect/StandardOps/Ops.td +++ b/third_party/mlir/include/mlir/Dialect/StandardOps/Ops.td @@ -1151,7 +1151,7 @@ def TruncateIOp : Std_Op<"trunci", [NoSideEffect, SameOperandsAndResultShape]> { }]; } -def ViewOp : Std_Op<"view"> { +def ViewOp : Std_Op<"view", [NoSideEffect]> { let summary = "memref view operation"; let description = [{ The "view" operation converts a 1-D memref with i8 element type,