[all-commits] [llvm/llvm-project] 1d8cc4: [mlir][vector] Add patterns to convert multidimred...

Thomas via All-commits all-commits at lists.llvm.org
Thu Oct 21 14:04:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d8cc45b0e4e316dbc4d4724964f1115fdb3f909
      https://github.com/llvm/llvm-project/commit/1d8cc45b0e4e316dbc4d4724964f1115fdb3f909
  Author: thomasraoux <thomasraoux at google.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    A mlir/test/Dialect/Vector/vector-reduce-to-contract.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Add patterns to convert multidimreduce to vector.contract

add several patterns that will simplify contraction vectorization in the
future. With those canonicalizationns we will be able to remove the special
case for contration during vectorization and rely on those transformations to
avoid materizalizing broadcast ops.

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




More information about the All-commits mailing list