[all-commits] [llvm/llvm-project] 56c638: [mlir][Linalg] Generalize Vectorization of Linalg ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Jul 10 07:29:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56c638b5c1caf018da3fa1a95b603267e607c89c
      https://github.com/llvm/llvm-project/commit/56c638b5c1caf018da3fa1a95b603267e607c89c
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M mlir/include/mlir/IR/Attributes.h
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Generalize Vectorization of Linalg contractions

This revision adds support for vectorizing named and generic contraction ops to vector.contract. Cases in which the memref is 0-D are special cased to emit std.load/std.store instead of vector.transfer. Relevant tests are added.

Differential revision: https://reviews.llvm.org/D83307




More information about the All-commits mailing list