[all-commits] [llvm/llvm-project] 7b70ba: [mlir][Vector] Remove lhs and rhs masks from vecto...

Diego Caballero via All-commits all-commits at lists.llvm.org
Wed Mar 29 12:54:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b70baa9ef2d859a90a2873242b446cf21b1755e
      https://github.com/llvm/llvm-project/commit/7b70baa9ef2d859a90a2873242b446cf21b1755e
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
    M mlir/test/Dialect/Vector/ops.mlir
    M mlir/test/Dialect/Vector/vector-transforms.mlir

  Log Message:
  -----------
  [mlir][Vector] Remove lhs and rhs masks from vector.contract

This patch removes the historical lhs and rhs masks in vector.contract,
now that vector.mask supports vector.contract and the lhs and rhs masks
are barely supported by all the vector.contract lowerings and
transformations.

Reviewed By: nicolasvasilache

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


  Commit: f18a8612995e3b4b7af9d7430374915724cdde51
      https://github.com/llvm/llvm-project/commit/f18a8612995e3b4b7af9d7430374915724cdde51
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][Vector] Enable masked vectorization of linalg.fill

linalg.fill was already vectorizable with masks but not supported in the
dynamic pre-checks.

Reviewed By: nicolasvasilache

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


  Commit: e2f1d5ce9147118c94e2d65ea5c53e7474e8ff4a
      https://github.com/llvm/llvm-project/commit/e2f1d5ce9147118c94e2d65ea5c53e7474e8ff4a
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td

  Log Message:
  -----------
  [mlir][Vector] Add mapIterationSpaceDimToAllOperandDims to Linalg interface

This is a variant of the existing `mapIterationSpaceDimToOperandDim`.
We have a local use downstream.

Reviewed By: nicolasvasilache

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


  Commit: 1cd434d007584d84f2c2dd3d5bbfdc1f12b9a7b2
      https://github.com/llvm/llvm-project/commit/1cd434d007584d84f2c2dd3d5bbfdc1f12b9a7b2
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Vector] Add canonicalization pattern for vector.transpose(vector.constant_mask)

We already had vector.transpose(vector.create_mask) ->
vector.create_mask. This patch adds the constant mask version of it.

Reviewed By: nicolasvasilache

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


Compare: https://github.com/llvm/llvm-project/compare/a4e32ae4cd97...1cd434d00758


More information about the All-commits mailing list