+
+ return res;
+}
+
+static optdesc_t opt_jumpthread = {
+ "jumpthreading",
+ IR_GRAPH_STATE_NO_UNREACHABLE_CODE | IR_GRAPH_STATE_CONSISTENT_OUT_EDGES | IR_GRAPH_STATE_NO_CRITICAL_EDGES,
+ do_jumpthread,
+};
+
+void opt_jumpthreading(ir_graph* irg)
+{
+ perform_irg_optimization(irg, &opt_jumpthread);