[all-commits] [llvm/llvm-project] a59277: [mlir][linalg][bufferize] Reimplementation of scf....

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Dec 15 01:41:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5927737daeb1d1a6e954fbac16f4d570c3d7496
      https://github.com/llvm/llvm-project/commit/a5927737daeb1d1a6e954fbac16f4d570c3d7496
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-partial.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
    M mlir/test/lib/Dialect/Linalg/TestComprehensiveBufferize.cpp

  Log Message:
  -----------
  [mlir][linalg][bufferize] Reimplementation of scf.if bufferization

Instead of modifying the existing scf.if op, create a new op with memref OpOperands/OpResults and delete the old op.

New allocations / other memrefs can now be yielded from the op. This functionality is deactivated by default and guarded against by AssertDestinationPassingStyle.

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




More information about the All-commits mailing list