Commit 5f0ceff3 authored by Matthias Braun's avatar Matthias Braun
Browse files

adjust schedule verifier

[r13906]
parent 9d2c3da2
......@@ -265,8 +265,11 @@ static int should_be_scheduled(be_verify_schedule_env_t *env, ir_node *node) {
if(is_Phi(node) || is_Sync(node) || is_Pin(node))
return 0;
}
if(is_Proj(node) && get_irn_mode(node) == mode_X)
return 0;
if(is_Proj(node)) {
if(get_irn_mode(node) == mode_X)
return 0;
return should_be_scheduled(env, get_Proj_pred(node));
}
if(be_is_Keep(node) && get_irn_opcode(get_nodes_block(node)) == iro_Bad)
return 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment