[all-commits] [llvm/llvm-project] 0d871f: [mlir][linalg] Unify generic vectorization interface.

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Thu May 18 12:59:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d871fef186d7d37a5181d2faa7b93d0a2051944
      https://github.com/llvm/llvm-project/commit/0d871fef186d7d37a5181d2faa7b93d0a2051944
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

  Log Message:
  -----------
  [mlir][linalg] Unify generic vectorization interface.

It breaks the logic of maskedVectorize (on tensor.pad ops) into
precondition checks and vectorization implementation; unifies the
interface.

The revision also rename`s vectorizeLinalgOpPrecondition` to
`vectorizeOpPrecondition` because we can vectorize ops other
than LinalgOps.

Reviewed By: dcaballe

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




More information about the All-commits mailing list