[all-commits] [llvm/llvm-project] e1af75: [mlir] return nullopt for getNeutralElement

Xiang Li via All-commits all-commits at lists.llvm.org
Tue Jan 31 22:47:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1af75572d3a0789cf91bf06869cec69a2741b85
      https://github.com/llvm/llvm-project/commit/e1af75572d3a0789cf91bf06869cec69a2741b85
  Author: Xiang <python3kgae at outlook.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir

  Log Message:
  -----------
  [mlir] return nullopt for getNeutralElement

Fixes 60210  https://github.com/llvm/llvm-project/issues/60210

Crash for return Attribute instead of nullopt.

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




More information about the All-commits mailing list