[all-commits] [llvm/llvm-project] 85e38e: [MLIR][Tensor] Use the existing helper function `a...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Tue Nov 22 02:34:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85e38e5292a3bea538fbdce04c2301c8bf3d7408
      https://github.com/llvm/llvm-project/commit/85e38e5292a3bea538fbdce04c2301c8bf3d7408
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

  Log Message:
  -----------
  [MLIR][Tensor] Use the existing helper function `applyPermutationToVector` (NFC)

Avoid duplicate code by using an existing helper function to interchange
a vector based on a permutation. Address comments emerged after landing
D138119.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list