Commit 3d490e36 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Remove pointless sched_reset() from do_remat().

The node was just created, so it is not scheduled.
parent 90c9c962
......@@ -494,8 +494,6 @@ static ir_node *do_remat(spill_env_t *env, ir_node *spilled, ir_node *reloader)
spilled, reloader));
if (!is_Proj(res)) {
/* insert in schedule */
sched_reset(res);
sched_add_before(reloader, res);
++env->remat_count;
}
......
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