diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2022-01-29 18:34:48 -0800 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2022-01-31 12:33:20 -0800 |
commit | 18e33ba9c94e7888450349025f6b6bff9f82ed5f (patch) | |
tree | 412bf8e97e3c90f239d866b4bfcc66f2e84fd7b2 | |
parent | 1a5388ca67b03ca21043369f2023ffa0e9bc35dc (diff) | |
download | llvm-18e33ba9c94e7888450349025f6b6bff9f82ed5f.zip llvm-18e33ba9c94e7888450349025f6b6bff9f82ed5f.tar.gz llvm-18e33ba9c94e7888450349025f6b6bff9f82ed5f.tar.bz2 |
Remove `mutable` and stray comment
The `mutable` was added back when `scope` was a `DataLayoutOpInterface`.
Differential Revision: https://reviews.llvm.org/D118643
-rw-r--r-- | mlir/include/mlir/Interfaces/DataLayoutInterfaces.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h b/mlir/include/mlir/Interfaces/DataLayoutInterfaces.h index 6d214ed..5cc80a0 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<Type, unsigned> sizes; |