[all-commits] [llvm/llvm-project] ea1ac1: [mlir][Linalg] Fix incorrect fusion with reshape o...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Tue Jan 25 11:43:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea1ac183f47ebc03051e63f76c4cb3ad3c5b9f3a
      https://github.com/llvm/llvm-project/commit/ea1ac183f47ebc03051e63f76c4cb3ad3c5b9f3a
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/reshape_linearization_fusion.mlir

  Log Message:
  -----------
  [mlir][Linalg] Fix incorrect fusion with reshape ops by linearization.

Fusion of reshape ops by linearization incorrectly inverted the
indexing map before linearizing dimensions. This leads to incorrect
indexing maps used in the fused operation.

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




More information about the All-commits mailing list