[all-commits] [llvm/llvm-project] d492a7: [mlir][Linalg] Add a useLinalgCopy option to Linal...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Jan 19 10:00:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d492a7b2cac3e89597e87091f7e1101b70829dee
      https://github.com/llvm/llvm-project/commit/d492a7b2cac3e89597e87091f7e1101b70829dee
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp

  Log Message:
  -----------
  [mlir][Linalg] Add a useLinalgCopy option to Linalg bufferization.

Benchmarks show that memref::CopyOp is curently up to 200x slower than
tiled and vectorized versions of linalg::Copy.
Add a temporary flag to allow comprehensive bufferize to generate a
linalg::GenericOp that implements a copy until this performance bug is
resolved.

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




More information about the All-commits mailing list