if (is_ia32_St(irn))
classification |= arch_irn_class_store;
- if (is_ia32_need_stackent(irn))
+ if (is_ia32_is_reload(irn))
classification |= arch_irn_class_reload;
+ if (is_ia32_is_spill(irn))
+ classification |= arch_irn_class_spill;
+
+ if (is_ia32_is_remat(irn))
+ classification |= arch_irn_class_remat;
+
return classification;
}
static void ia32_before_abi(void *self) {
lower_mode_b_config_t lower_mode_b_config = {
mode_Iu, /* lowered mode */
- mode_Bu, /* prefered mode for set */
+ mode_Bu, /* preferred mode for set */
0, /* don't lower direct compares */
};
ia32_code_gen_t *cg = self;
#ifdef FIRM_GRGEN_BE
case TRANSFORMER_PBQP:
case TRANSFORMER_RAND:
- // disable CSE, because of two-step node-construction
- cse_last = get_opt_cse();
- set_opt_cse(0);
-
/* transform nodes into assembler instructions by PBQP magic */
ia32_transform_graph_by_pbqp(cg);
-
- set_opt_cse(cse_last);
break;
#endif