[all-commits] [llvm/llvm-project] 481b25: [mlir][tensor][bufferize] Bufferize tensor.splat op

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon May 22 05:32:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 481b254e458bc195af16fef9625cf856ef87fced
      https://github.com/llvm/llvm-project/commit/481b254e458bc195af16fef9625cf856ef87fced
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/bufferize.mlir

  Log Message:
  -----------
  [mlir][tensor][bufferize] Bufferize tensor.splat op

The op bufferizes similarly to tensor.generate: it is lowered to a linalg.map, which may then lower to a loop nest that fills the buffer.

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




More information about the All-commits mailing list