[all-commits] [llvm/llvm-project] e789ef: [mlir][linalg] Refactor PadTensorOpVectorizationPa...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jun 4 07:51:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e789efc92a5aa6495a22bd3a93a03f640dc2f32a
      https://github.com/llvm/llvm-project/commit/e789efc92a5aa6495a22bd3a93a03f640dc2f32a
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-06-04 (Fri, 04 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][linalg] Refactor PadTensorOpVectorizationPattern (NFC)

* Rename PadTensorOpVectorizationPattern to GenericPadTensorOpVectorizationPattern.
* Make GenericPadTensorOpVectorizationPattern a private pattern, to be instantiated via populatePadTensorOpVectorizationPatterns.
* Factor out parts of PadTensorOpVectorizationPattern into helper functions.

This commit prepares PadTensorOpVectorizationPattern for a series of subsequent commits that add more specialized PadTensorOp vectorization patterns.

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




More information about the All-commits mailing list