[all-commits] [llvm/llvm-project] 22219c: Fix inlining multi-block callees with type convers...

Sean Silva via All-commits all-commits at lists.llvm.org
Mon Apr 20 16:54:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22219cfc6a2a752c53238df4ceea342672392818
      https://github.com/llvm/llvm-project/commit/22219cfc6a2a752c53238df4ceea342672392818
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/InliningUtils.h
    M mlir/lib/Transforms/Inliner.cpp
    M mlir/lib/Transforms/Utils/InliningUtils.cpp
    M mlir/test/Transforms/inlining.mlir
    M mlir/test/lib/Transforms/TestInlining.cpp

  Log Message:
  -----------
  Fix inlining multi-block callees with type conversion.

The previous code result a mismatch between block argument types and
predecessor successor args when a type conversion was needed in a
multiblock case. It was assuming the replaced result types matched the
region result types.

Also, slighly improve the debug output from the inliner.

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




More information about the All-commits mailing list