Merge branch 'opt_manage'
[libfirm] / include / libfirm / irgopt.h
index 938662b..a4cf9f7 100644 (file)
@@ -58,6 +58,11 @@ FIRM_API void local_optimize_graph(ir_graph *irg);
  */
 FIRM_API int optimize_graph_df(ir_graph *irg);
 
+/**
+ * Transforms unreachable blocks and nodes in there into Bad nodes
+ */
+FIRM_API void remove_unreachable_blocks(ir_graph *irg);
+
 /**
  * Removes all Bad nodes from a graph.
  *