+
+ /* Note we do not have a reliable way to detect changes, since some
+ * localopt rules change the inputs of a node and do not return a new
+ * node, so we conservatively say true here */
+ return true;
+}
+
+void local_opts_const_code(void)
+{
+ ir_graph *irg = get_const_code_irg();
+ /* Clean the value_table in irg for the CSE. */
+ new_identities(irg);
+
+ walk_const_code(firm_clear_link, optimize_in_place_wrapper, NULL);