[all-commits] [llvm/llvm-project] 6d7c9c: [mlir][Linalg] Bufferize the region of LinalgOps a...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Wed Dec 8 22:36:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d7c9c3d0e78815fc54246dd2d233d3900d22e1c
      https://github.com/llvm/llvm-project/commit/6d7c9c3d0e78815fc54246dd2d233d3900d22e1c
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][Linalg] Bufferize the region of LinalgOps as well.

The region of `linalg.generic` might contain `tensor` operations. For
example, current lowering of `gather` uses a `tensor.extract` in the
body of the `LinalgOp`. Bufferize the ops within a `LinalgOp` region
as well to catch such cases.

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




More information about the All-commits mailing list