- /* Sometimes the blocks died, but are still reachable through kept nodes.
- * Make sure the algorithms that try to remove these reach them. */
+ /* this walker is also used during optimize_graph_df where we can
+ * temporarily have Bad as block inputs */
+ if (is_Bad(pred))
+ continue;