From 18e33ba9c94e7888450349025f6b6bff9f82ed5f Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sat, 29 Jan 2022 18:34:48 -0800 Subject: [PATCH] Remove `mutable` and stray comment The `mutable` was added back when `scope` was a `DataLayoutOpInterface`. Differential Revision: https://reviews.llvm.org/D118643 --- mlir/include/mlir/Interfaces/DataLayoutInterfaces.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h b/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h index 6d214ed30236..5cc80a06f363 100644 --- a/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h +++ b/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h @@ -173,9 +173,7 @@ private: void checkValid() const; /// Operation defining the scope of requests. - // TODO: this is mutable because the generated interface method are not const. - // Update the generator to support const methods and change this to const. - mutable Operation *scope; + Operation *scope; /// Caches for individual requests. mutable DenseMap sizes;