[all-commits] [llvm/llvm-project] 88a3dc: [mlir] fail gracefull in CallOpSignatureConversion

ftynse via All-commits all-commits at lists.llvm.org
Fri Jan 27 01:04:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88a3dc0ee88009a145e8daa875235650f07554c9
      https://github.com/llvm/llvm-project/commit/88a3dc0ee88009a145e8daa875235650f07554c9
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp
    M mlir/test/Transforms/test-legalizer.mlir

  Log Message:
  -----------
  [mlir] fail gracefull in CallOpSignatureConversion

Previously, the CallOpSignatureConversion pattern would assert if
function signature change affected the number of results. Fail the
pattern instead and let the caller propagate failure.

Fixes #60186.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list