[all-commits] [llvm/llvm-project] 9578a5: [mlir][Vector] Add vector contraction to outerprod...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue May 26 06:33:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9578a54f5007e8a02cef449dd151da27837b388e
      https://github.com/llvm/llvm-project/commit/9578a54f5007e8a02cef449dd151da27837b388e
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/include/mlir/Dialect/Vector/VectorOps.td
    M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][Vector] Add vector contraction to outerproduct lowering

This revision adds the additional lowering and exposes the patterns at a finer granularity for better programmatic reuse. The unit test makes use of the finer grained pattern for simpler checks.

As the ContractionOpLowering is exposed programmatically, cleanup opportunities appear and static class methods are turned into free functions with static visibility.

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




More information about the All-commits mailing list