[all-commits] [llvm/llvm-project] 6592b0: [mlir][func] Add support for nested tuples to Test...

Ingo Müller via All-commits all-commits at lists.llvm.org
Wed Feb 8 21:22:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6592b010c1016f2305ffe4a83c244325c850fda9
      https://github.com/llvm/llvm-project/commit/6592b010c1016f2305ffe4a83c244325c850fda9
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Func/Transforms/DecomposeCallGraphTypes.h
    M mlir/test/Transforms/decompose-call-graph-types.mlir
    M mlir/test/lib/Dialect/Func/TestDecomposeCallGraphTypes.cpp

  Log Message:
  -----------
  [mlir][func] Add support for nested tuples to TestDecomposeCallGraphTypes.

Nested tuples were only supported in some narrow edge cases (and
potentially only because the test ops like `test.make_tuple` aren't
properly verified). This patch adds a couple of test cases with tested
tuple types and makes them work in the test pass by extending the
argument materialization and decomposition functions.

Reviewed By: silvas

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




More information about the All-commits mailing list