[Mlir-commits] [mlir] [MLIR] Add bufferization state class to OneShotBufferization pass (PR #138143)
Matthias Springer
llvmlistbot at llvm.org
Wed May 21 19:58:06 PDT 2025
================
@@ -578,6 +578,81 @@ class AnalysisState {
insideMutuallyExclusiveRegionsCache;
};
+/// BufferizationState provides information about the state of the IR during the
+/// bufferization process.
+class BufferizationState {
+public:
+ /// Base class for BufferizationState extensions that allow BufferizationState
+ /// to contain user-specified information in the state object. The extension
+ /// mechanism of BufferizationState mirrors the one of OneShotAnalysisState.
+ class Extension {
----------------
matthias-springer wrote:
I think this entire extension mechanism is not needed anymore. Let's remove it for now, and bring it back if we find a use case for it in the future.
https://github.com/llvm/llvm-project/pull/138143
More information about the Mlir-commits
mailing list