[all-commits] [llvm/llvm-project] 57e455: [mlir][linalg] Fix incorrect reduction detection i...

Diego Caballero via All-commits all-commits at lists.llvm.org
Thu Jan 12 15:30:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57e455e6d90238f73db2b0c25d563c56e5a523e6
      https://github.com/llvm/llvm-project/commit/57e455e6d90238f73db2b0c25d563c56e5a523e6
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix incorrect reduction detection in Vectorizer

When detecting reductions, make sure the block argument is from the linalg generic op.
This fixes https://github.com/iree-org/iree/issues/11779.

Co-authored-by: Andrzej Warzynski <andrzej.warzynski at arm.com>

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list