[all-commits] [llvm/llvm-project] 71604f: [mlir][Linalg] Fix out of bounds access while hand...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu Aug 25 11:02:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71604f4c4c3059df51d3e4b0561e2cf31461ff7a
      https://github.com/llvm/llvm-project/commit/71604f4c4c3059df51d3e4b0561e2cf31461ff7a
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

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

  Log Message:
  -----------
  [mlir][Linalg] Fix out of bounds access while handling multiple results.

Previous change (a7bfdc23ab3ade54da99f0f59dababe4d71ae75b) added
support for fusion of `linalg.generic` op with `tensor.expand_shape`
op when the former had multiple results. Fix a bug related to this
that resulted in a segfault.

Reviewed By: hanchung

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




More information about the All-commits mailing list