[all-commits] [llvm/llvm-project] 1e01a8: [mlir][Linalg] Add ComprehensiveBufferize for func...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu May 13 15:25:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e01a8919f8d0fdc8c2f5f679fcc541b61381b0f
      https://github.com/llvm/llvm-project/commit/1e01a8919f8d0fdc8c2f5f679fcc541b61381b0f
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    A mlir/test/Dialect/Linalg/comprehensive-func-bufferize.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add ComprehensiveBufferize for functions(step 1/n)

This is the first step towards upstreaming comprehensive bufferization following the
discourse post: https://llvm.discourse.group/t/rfc-linalg-on-tensors-update-and-comprehensive-bufferization-rfc/3373/6.

This first commit introduces a basic pass for bufferizing within function boundaries,
assuming that the inplaceable function boundaries have been marked as such.

Differential revision: https://reviews.llvm.org/D101693




More information about the All-commits mailing list