[all-commits] [llvm/llvm-project] a8aeb6: [mlir][memref] Extend multi-buffering transform

kile0 via All-commits all-commits at lists.llvm.org
Mon Oct 3 11:46:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8aeb651cdae4e687500575108e12c89e540f59c
      https://github.com/llvm/llvm-project/commit/a8aeb651cdae4e687500575108e12c89e540f59c
  Author: Kirsten Lee <kile at microsoft.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/MultiBuffer.cpp
    M mlir/test/Dialect/MemRef/multibuffer.mlir
    M mlir/test/Dialect/MemRef/transform-ops.mlir

  Log Message:
  -----------
  [mlir][memref] Extend multi-buffering transform

Extend multi-buffering to simplify the affine map created if any of its operands are constants. This avoids downstream problems where more complex affine.apply operations cannot be expanded.
Transfer attributes from the old allocation to the new allocation.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list