/* Remove critical edges */
remove_critical_cf_edges_ex(irg, /*ignore_exception_edges=*/0);
+ /* For code generation all unreachable code and Bad nodes should be gone */
+ remove_unreachable_code(irg);
+ remove_bads(irg);
+
/* Ensure, that the ir_edges are computed. */
edges_assure(irg);