[all-commits] [llvm/llvm-project] 2e0d82: [mlir][linalg][bufferize] Store analysis results i...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Nov 10 17:38:21 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e0d821bd531e0c3cf449c8785d364adca42efba
https://github.com/llvm/llvm-project/commit/2e0d821bd531e0c3cf449c8785d364adca42efba
Author: Matthias Springer <springerm at google.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.h
M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
Log Message:
-----------
[mlir][linalg][bufferize] Store analysis results in BufferizationAliasInfo
* Store inplace bufferization decisions in `inplaceBufferized`.
* Remove `InPlaceSpec`. Use a bool instead.
* Use `BufferizableOpInterface::bufferizesToWritableMemory` and `bufferizesToWritableMemory` instead of `getInPlace(BlockArgument)`. The analysis does not care about inplacability of block arguments. It only cares whether the buffer can be written to or not.
* The `kInPlaceResultsAttrName` op attribute is for testing purposes only.
This commit further decouples BufferizationAliasInfo from other dialects such as SCF.
Differential Revision: https://reviews.llvm.org/D113375
More information about the All-commits
mailing list