HomePhabricator

Fix inlining multi-block callees with type conversion.

Authored by silvas on Apr 17 2020, 8:14 PM.

Description

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