[all-commits] [llvm/llvm-project] b24122: [mlir][linalg] Avoid illegal elementwise fusion in...

Stephan Herhut via All-commits all-commits at lists.llvm.org
Thu Nov 11 06:56:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b241226aec1bbbff25e06de78adc4b00389ffd12
      https://github.com/llvm/llvm-project/commit/b241226aec1bbbff25e06de78adc4b00389ffd12
  Author: Stephan Herhut <herhut at google.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir

  Log Message:
  -----------
  [mlir][linalg] Avoid illegal elementwise fusion into reductions

Fusing into a reduction is only valid if doing so does not erase information on a reduction dimensions size.

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




More information about the All-commits mailing list