[all-commits] [llvm/llvm-project] 59d3a9: [mlir][vector] Separate high-D insert/extract stri...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Apr 5 12:01:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59d3a9e0877b2b12fc98eea0f9bbbc93f3c7a094
      https://github.com/llvm/llvm-project/commit/59d3a9e0877b2b12fc98eea0f9bbbc93f3c7a094
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
    M mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp

  Log Message:
  -----------
  [mlir][vector] Separate high-D insert/extract strided slice rewrite

Right now `populateVectorInsertExtractStridedSliceTransforms` contains
two categories of patterns, one for decomposing high-D insert/extract
strided slices, the other for lowering them to shuffle ops.
They are at different levels---the former is in the middle, while
the latter is a step of final lowering. Split them to give users
more control of which pattern to pick.

This means break down the previous `VectorExtractStridedSliceOpRewritePattern`,
which is doing two things together.

Also renamed those patterns to be clearer.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list