Commit 8828dba6 authored by Matthias Braun's avatar Matthias Braun
Browse files

ProjMs should not be scheduled

[r14477]
parent 621eec92
......@@ -631,7 +631,6 @@ static void create_memperms(be_fec_env_t *env)
be_set_MemPerm_out_entity(mempermnode, i, entry->out);
set_irg_current_block(irg, memperm->block);
proj = new_Proj(mempermnode, get_irn_mode(arg), i);
sched_add_before(blockend, proj);
set_irn_n(entry->node, entry->pos, proj);
}
......
......@@ -254,7 +254,7 @@ static void verify_schedule_walker(ir_node *block, void *data) {
while(is_Proj(prev))
prev = sched_prev(prev);
if(get_Proj_pred(node) != prev) {
ir_fprintf(stderr, "Proj %+F not scheduled after by its pred node in block %+F (%s)\n",
ir_fprintf(stderr, "Proj %+F not scheduled after its pred node in block %+F (%s)\n",
node, block, get_irg_dump_name(env->irg));
env->problem_found = 1;
}
......@@ -311,7 +311,7 @@ static int should_be_scheduled(be_verify_schedule_env_t *env, ir_node *node) {
if(get_irn_mode(node) == mode_M) {
if(is_Proj(node))
return -1;
return 0;
if(is_Phi(node) || is_Sync(node) || is_Pin(node))
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