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

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


  Branch: refs/heads/arcpatch-D141413
  Home:   https://github.com/llvm/llvm-project
  Commit: c939331e4d97ec667ebf6bd470ff069b42ea6fb4
      https://github.com/llvm/llvm-project/commit/c939331e4d97ec667ebf6bd470ff069b42ea6fb4
  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