[all-commits] [llvm/llvm-project] 3964c1: [mlir][vector] Split populateVectorContractLowerin...

Lei Zhang via All-commits all-commits at lists.llvm.org
Thu Oct 7 06:40:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3964c1db915b00fffb77764892b890a3075e181e
      https://github.com/llvm/llvm-project/commit/3964c1db915b00fffb77764892b890a3075e181e
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/lib/Dialect/Linalg/TestConvVectorization.cpp
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Split populateVectorContractLoweringPatterns

It was bundling quite a lot of patterns that convert high-D
vector ops into low-D elementary ops. It might not be good
for all of the patterns to happen for a particular downstream
user. For example, `ShapeCastOpRewritePattern` rewrites
`vector.shape_cast` into data movement extract/insert ops.

Instead, split the entry point into multiple ones so users
can pull in patterns on demand.

Reviewed By: ftynse

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




More information about the All-commits mailing list