[flang-commits] [flang] [mlir] [MLIR][LLVM] Fix inlining of a single block ending with unreachable (PR #122615)

Tobias Gysi via flang-commits flang-commits at lists.llvm.org
Sun Jan 12 10:46:59 PST 2025


gysit wrote:

If I am not mistaken, `processInlinedBlocks` can be overwritten in the LLVM dialect inliner interface? So it should be possible to split the block in that function, within the LLVM inliner interface. Changes to the MLIR core inliner interface should not be necessary. But maybe I am missing something.

Not in that solution the `handleTerminator` handler can stay as is.




https://github.com/llvm/llvm-project/pull/122615


More information about the flang-commits mailing list