[WebAssembly] Cannot handle irreducible CFGs caused by unwind edges #49292
Labels
backend:WebAssembly
bugzilla
Issues migrated from bugzilla
confirmed
Verified by a second party
llvm:crash
Extended Description
Currently irreducible CFGs are fixed by WebAssemblyFixIrreducibleControlFlow pass, but irreducible CFGs caused by unwind edges are not handled by that pass. For example,
test.cpp:
test.ll:
This CFG cannot be handled by the wasm backend.
crashes with this error message:
The text was updated successfully, but these errors were encountered: