[all-commits] [llvm/llvm-project] 6cdd34: [mlir][tensor][bufferize] Bufferize inserts into e...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Oct 5 23:15:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cdd34b9739a41caeda14f63bceab6fec7fd0ae5
      https://github.com/llvm/llvm-project/commit/6cdd34b9739a41caeda14f63bceab6fec7fd0ae5
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][tensor][bufferize] Bufferize inserts into equivalent tensors in-place

Inserting a tensor into an equivalent tensor is a no-op after bufferization. No alloc is needed.

Differential Revision: https://reviews.llvm.org/D132662




More information about the All-commits mailing list