[all-commits] [llvm/llvm-project] 1538bd: [mlir][Vector] Add patterns to reorder elementwise...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Mon Mar 7 12:52:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1538bd518cd236f4321695e9c5f0dd24601db366
      https://github.com/llvm/llvm-project/commit/1538bd518cd236f4321695e9c5f0dd24601db366
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-reduce-to-contract.mlir

  Log Message:
  -----------
  [mlir][Vector] Add patterns to reorder elementwise ops and broadcast/transpose ops.

In quantized comutation, there are casting ops around computation ops.
Reorder the ops to make reduce-to-contract actually work.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list