[all-commits] [llvm/llvm-project] fb7ec1: [mlir] Use VectorTransferPermutationMapLoweringPat...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue May 18 22:46:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb7ec1f1873c82b758d606dc7e5b4687fc68dce2
      https://github.com/llvm/llvm-project/commit/fb7ec1f1873c82b758d606dc7e5b4687fc68dce2
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/VectorToSCF/VectorToSCF.h
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    A mlir/test/Dialect/Vector/vector-transfer-lowering-to-scf.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-permutation-lowering.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir

  Log Message:
  -----------
  [mlir] Use VectorTransferPermutationMapLoweringPatterns in VectorToSCF

VectorTransferPermutationMapLoweringPatterns can be enabled via a pass option. These additional patterns lower permutation maps to minor identity maps with broadcasting, if possible, allowing for more efficient vector load/stores. The option is deactivated by default.

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




More information about the All-commits mailing list