[all-commits] [llvm/llvm-project] ba9d88: [mlir][bufferization][NFC] Bufferize with PostOrde...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Jun 27 03:46:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba9d886db4fbb2dfd6787bfa073811e77eacbfe7
https://github.com/llvm/llvm-project/commit/ba9d886db4fbb2dfd6787bfa073811e77eacbfe7
Author: Matthias Springer <springerm at google.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/Shape/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
Log Message:
-----------
[mlir][bufferization][NFC] Bufferize with PostOrder traversal
This is useful because the result type of an op can sometimes be inferred from its body (e.g., `scf.if`). This will be utilized in subsequent changes.
Also introduces a new `getBufferType` interface method on BufferizableOpInterface. This method is useful for computing a bufferized block argument type with respect to OpOperand types of the parent op.
Differential Revision: https://reviews.llvm.org/D128420
More information about the All-commits
mailing list