[all-commits] [llvm/llvm-project] f6d900: [mlir][Vector] Remove 'lower-permutation-maps' opt...

Diego Caballero via All-commits all-commits at lists.llvm.org
Mon Nov 28 15:58:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6d90055fd88f9dcd1f8a7f0aca1a6018bad025c
      https://github.com/llvm/llvm-project/commit/f6d90055fd88f9dcd1f8a7f0aca1a6018bad025c
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/VectorToSCF/VectorToSCF.h
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
    M mlir/test/Conversion/VectorToSCF/vector-to-scf-mask-and-permutation-map.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][Vector] Remove 'lower-permutation-maps' option from VectorToSCF

This patch is part of a larger simplification effort of vector transfer
operations. It removes the flag `lower-permutation-maps` from
VectorToSCF conversion and enables the lowering of permutation maps
by default. This means that VectorToSCF will always lower permutation
maps to independent broadcast/transpose operations before lowering
vector operations to SCF.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list