- return res;
-}
-
-static optdesc_t opt_simplify_bool = {
- "bool-simplification",
- IR_GRAPH_STATE_ONE_RETURN, /* works better with one return block only */
- do_simplify_bool,
-};
-
-void opt_bool(ir_graph *irg)
-{
- perform_irg_optimization(irg, &opt_simplify_bool);
+ confirm_irg_properties(irg,
+ env.changed ? IR_GRAPH_PROPERTIES_NONE : IR_GRAPH_PROPERTIES_ALL);