[all-commits] [llvm/llvm-project] aba0ef: [mlir][bufferization] Support casts in EmptyTensor...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Jul 31 06:20:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aba0ef70597980d84e31f41e09cdbd00ea65d9fd
https://github.com/llvm/llvm-project/commit/aba0ef70597980d84e31f41e09cdbd00ea65d9fd
Author: Matthias Springer <me at m-sp.org>
Date: 2023-07-31 (Mon, 31 Jul 2023)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-empty-tensor-elimination.mlir
Log Message:
-----------
[mlir][bufferization] Support casts in EmptyTensorElimination
EmptyTensorElimination is a pre-bufferization transformation that replaces "tensor.empty" ops with "tensor.extract_slice" ops. This revision adds support for cases where the input IR contains "tensor.cast" ops.
Differential Revision: https://reviews.llvm.org/D156167
More information about the All-commits
mailing list