Commit 12aaa3fc authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bespillutil: Remove the unusd function be_add_reload_at_end().

parent 138b6f7f
......@@ -328,15 +328,6 @@ static ir_node *get_block_insertion_point(ir_node *block, int pos)
return be_get_end_of_block_insertion_point(predblock);
}
void be_add_reload_at_end(spill_env_t *env, ir_node *to_spill,
const ir_node *block,
const arch_register_class_t *reload_cls,
int allow_remat)
{
ir_node *before = be_get_end_of_block_insertion_point(block);
be_add_reload(env, to_spill, before, reload_cls, allow_remat);
}
void be_add_reload_on_edge(spill_env_t *env, ir_node *to_spill, ir_node *block,
int pos, const arch_register_class_t *reload_cls,
int allow_remat)
......
......@@ -74,14 +74,6 @@ void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before,
void be_add_reload2(spill_env_t *senv, ir_node *to_spill, ir_node *before, ir_node *can_spill_after,
const arch_register_class_t *reload_cls, int allow_remat);
/**
* Add a reload at the end of a block.
* Similar to be_add_reload_on_edge().
*/
void be_add_reload_at_end(spill_env_t *env, ir_node *to_spill, const ir_node *block,
const arch_register_class_t *reload_cls,
int allow_remat);
/**
* Analog to be_add_reload, but places the reload "on an edge" between 2 blocks
* @see be_add_reload
......
Markdown is supported
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