diff options
Diffstat (limited to 'mlir/include/mlir/Transforms/FoldUtils.h')
-rw-r--r-- | mlir/include/mlir/Transforms/FoldUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mlir/include/mlir/Transforms/FoldUtils.h b/mlir/include/mlir/Transforms/FoldUtils.h index 56a78b1..83ce3bf 100644 --- a/mlir/include/mlir/Transforms/FoldUtils.h +++ b/mlir/include/mlir/Transforms/FoldUtils.h @@ -106,6 +106,9 @@ public: return op; } + /// Clear out any constants cached inside of the folder. + void clear(); + private: /// This map keeps track of uniqued constants by dialect, attribute, and type. /// A constant operation materializes an attribute with a type. Dialects may |