[all-commits] [llvm/llvm-project] e3f507: [mlir] Add some more std bufferize patterns.
Sean Silva via All-commits
all-commits at lists.llvm.org
Mon Oct 19 15:54:21 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e3f5073a961076475c286a39a2cba2bf803eb32c
https://github.com/llvm/llvm-project/commit/e3f5073a961076475c286a39a2cba2bf803eb32c
Author: Sean Silva <silvasean at google.com>
Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths:
M mlir/lib/Dialect/StandardOps/Transforms/Bufferize.cpp
M mlir/test/Dialect/Standard/bufferize.mlir
Log Message:
-----------
[mlir] Add some more std bufferize patterns.
Add bufferizations for extract_element and tensor_from_elements.
Differential Revision: https://reviews.llvm.org/D89594
Commit: f4abd3ed6d95e66470a0c8cc132e61782896527a
https://github.com/llvm/llvm-project/commit/f4abd3ed6d95e66470a0c8cc132e61782896527a
Author: Sean Silva <silvasean at google.com>
Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths:
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
M mlir/lib/Dialect/StandardOps/Transforms/Bufferize.cpp
M mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
M mlir/lib/Dialect/StandardOps/Transforms/PassDetail.h
M mlir/test/Dialect/Standard/bufferize.mlir
Log Message:
-----------
[mlir] Add std.dynamic_tensor_from_elements bufferization.
It's unfortunate that this requires adding a dependency on scf dialect
to std bufferization (and hence all of std transforms). This is a bit
perilous. We might want a lib/Transforms/Bufferize/ with a separate
bufferization library per dialect?
Differential Revision: https://reviews.llvm.org/D89667
Commit: 7885bf8b78e21a29e27c598e0aed602de8f15260
https://github.com/llvm/llvm-project/commit/7885bf8b78e21a29e27c598e0aed602de8f15260
Author: Sean Silva <silvasean at google.com>
Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths:
M mlir/include/mlir/IR/Builders.h
M mlir/lib/IR/Builders.cpp
M mlir/test/Dialect/Standard/bufferize.mlir
Log Message:
-----------
[mlir][DialectConversion] Fix recursive `clone` calls.
The framework was not tracking ops created in any regions of the cloned
op.
Differential Revision: https://reviews.llvm.org/D89668
Commit: 57211fd239a3a3efe89f0b7091f86a167f8301ff
https://github.com/llvm/llvm-project/commit/57211fd239a3a3efe89f0b7091f86a167f8301ff
Author: Sean Silva <silvasean at google.com>
Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths:
M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
Log Message:
-----------
[mlir] Use dynamic_tensor_from_elements in shape.broadcast conversion
Now, convert-shape-to-std doesn't internally create memrefs, which was
previously a bit of a layering violation. The conversion to memrefs
should logically happen as part of bufferization.
Differential Revision: https://reviews.llvm.org/D89669
Compare: https://github.com/llvm/llvm-project/compare/4000c9ee18ec...57211fd239a3
More information about the All-commits
mailing list