}
last_timestep = timestep;
+ if (arch_get_irn_flags(node) & arch_irn_flags_not_scheduled) {
+ ir_fprintf(stderr, "Verify warning: flags_not_scheduled node %+F scheduled anyway\n", node);
+ env->problem_found = true;
+ }
+
/* Check that phis come before any other node */
if (is_Phi(node)) {
if (non_phi_found != NULL) {
cfchange_found = node;
}
} else if (cfchange_found != NULL) {
- /* proj and keepany aren't real instructions... */
- if (!is_Proj(node) && !be_is_Keep(node)) {
+ /* keepany isn't a real instruction. */
+ if (!be_is_Keep(node)) {
ir_fprintf(stderr, "Verify Warning: Node %+F scheduled after control flow changing node in block %+F (%s)\n",
node, block, get_irg_name(env->irg));
env->problem_found = true;
}
sched_foreach_reverse(block, node) {
-
- if (get_irn_mode(node) == mode_T) {
- foreach_out_edge(node, edge) {
- ir_node *def = get_edge_src_irn(edge);
- value_def(def);
- check_output_constraints(def);
- }
- } else {
- value_def(node);
- check_output_constraints(node);
- }
+ be_foreach_value(node, value,
+ value_def(value);
+ check_output_constraints(value);
+ );
check_input_constraints(node);