[all-commits] [llvm/llvm-project] b1357f: [mlir][memref] Add transformation to do loop multi...

Thomas via All-commits all-commits at lists.llvm.org
Thu Feb 24 09:43:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1357fe6182f41c5460b6f7bec0d2d84690b39f7
      https://github.com/llvm/llvm-project/commit/b1357fe6182f41c5460b6f7bec0d2d84690b39f7
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-02-24 (Thu, 24 Feb 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SCF/SCFOps.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/MemRef/Transforms/MultiBuffer.cpp
    M mlir/lib/Dialect/SCF/SCF.cpp
    A mlir/test/Dialect/MemRef/multibuffer.mlir
    M mlir/test/lib/Dialect/MemRef/CMakeLists.txt
    A mlir/test/lib/Dialect/MemRef/TestMultiBuffer.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [mlir][memref] Add transformation to do loop multi-buffering

This transformation is useful to break dependency between consecutive loop
iterations by increasing the size of a temporary buffer. This is usually
combined with heavy software pipelining.

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




More information about the All-commits mailing list