[llvm] [WebAssembly] Reapply "[WebAssembly] Incorporate SCCs into WebAssemblyFixIrreducibleControlFlow" (#181755) (PR #184441)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 02:28:09 PST 2026


================

----------------
aheejin wrote:

I get that this is a special edge case generated during iSel and it is very unlikely that a function with a cluster of unreachable BBs enters this pass, but I think the rule of compiler pass is, to the extent possible, to handle all possible valid inputs, however unlikely they are. Maybe running UnreachableMachineBlockElim before this pass is the simplest solution. But I wonder what others think.

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


More information about the llvm-commits mailing list