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

William Moses via flang-commits flang-commits at lists.llvm.org
Sun Jan 12 10:36:10 PST 2025


wsmoses wrote:

I changed it to also return poison instead of undefop.

@gysit I could potentially modify processInlinedBlocks to return a bool whether the fast path is permitted? But I'm otherwise hesitant to have too much unreachable-specific code in the generic interface for the inliner 

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


More information about the flang-commits mailing list