[all-commits] [llvm/llvm-project] faa9be: [mlir][bufferize][NFC] Rename DialectAnalysisState...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Nov 22 05:39:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: faa9be75ee9bfefa6a435f6570997ec3dd3657a3
https://github.com/llvm/llvm-project/commit/faa9be75ee9bfefa6a435f6570997ec3dd3657a3
Author: Matthias Springer <springerm at google.com>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
M mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
M mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp
Log Message:
-----------
[mlir][bufferize][NFC] Rename DialectAnalysisState and move to OneShotAnalysis
`DialectAnalysisState` is now `OneShotAnalysisState::Extension`.
This state extension mechanism is needed only for One-Shot Analysis, so it is moved from `BufferizableOpInterface.h` to `OneShotAnalysis.h`.
Extensions are now identified via TypeIDs instead of StringRefs. The API of state extensions is cleaned up and follows the same pattern as other extension mechanisms in MLIR (e.g., `transform::TransformState::Extension`).
Also delete some dead code.
Differential Revision: https://reviews.llvm.org/D135051
More information about the All-commits
mailing list