-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: (rewriting) Fix recursive type conversion in block arguments fo…
…r nested regions (#2871) closes #2857 Solves the issue mentioned there and adds the reported testcase as a regression test. Before, this was actually quite broken as not applying the recursive rewrite, but the normal rewrite, to the region would actually mean that the produced func_op did not even verify (the `function_type` attribute got rewritten properly, whereas the entry_block args would still have the old type). The reason why the old type was being printed is that the `print_func_op_like`-utility function defaults to printing the entry_block arguments in some cases.
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters