| Issue |
53373
|
| Summary |
Inliner does not support inlining terminating instructions
|
| Labels |
mlir:core
|
| Assignees |
|
| Reporter |
zero9178
|
The inliners code currently documents that terminating instructions are not supported: https://github.com/llvm/llvm-project/blob/413684313d9dd7c83ab0c40830cccbd31a94bd7c/mlir/lib/Transforms/Inliner.cpp#L415-L418
It'd be nice for that restrictions to be lifted for operations similar to LLVMs `invoke` which have control flow based on the callables execution result. Ideally it'd then also be possible via the inliner interface to replace `throw` like operations when being inlined (to a branch eg.)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs