[all-commits] [llvm/llvm-project] 9072f1: [mlir][linalg] Add isPermutation helper (NFC).

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Sep 21 08:08:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9072f1b5f81347b36f0668e8cc10802fedbc6cfd
      https://github.com/llvm/llvm-project/commit/9072f1b5f81347b36f0668e8cc10802fedbc6cfd
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp

  Log Message:
  -----------
  [mlir][linalg] Add isPermutation helper (NFC).

Add a helper method to check if an index vector contains a permutation of its indices. Additionally, refactor applyPermutationToVector to take int64_t.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list