[all-commits] [llvm/llvm-project] 495e1d: [mlir][linalg] adding pass to run the interchange ...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Apr 19 05:20:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 495e1d7e8a68e4343756b58b0dd7b4bd047bd847
      https://github.com/llvm/llvm-project/commit/495e1d7e8a68e4343756b58b0dd7b4bd047bd847
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    A mlir/test/Dialect/Linalg/interchange.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][linalg] adding pass to run the interchange pattern.

Instead of interchanging loops during the loop lowering this pass performs the interchange by permuting the indexing maps. It also updates the iterator types and the index accesses in the body of the operation.

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




More information about the All-commits mailing list