intel/compiler: Remove one overload of backend_instruction::insert_before
The version that takes a list of instructions is not used. I did not do any archaeology to find out when the last user was removed. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22299>
This commit is contained in:
@@ -110,7 +110,6 @@ struct backend_instruction : public exec_node {
|
||||
void remove(bblock_t *block, bool defer_later_block_ip_updates = false);
|
||||
void insert_after(bblock_t *block, backend_instruction *inst);
|
||||
void insert_before(bblock_t *block, backend_instruction *inst);
|
||||
void insert_before(bblock_t *block, exec_list *list);
|
||||
|
||||
/**
|
||||
* True if the instruction has side effects other than writing to
|
||||
|
@@ -1204,21 +1204,6 @@ backend_instruction::insert_before(bblock_t *block, backend_instruction *inst)
|
||||
exec_node::insert_before(inst);
|
||||
}
|
||||
|
||||
void
|
||||
backend_instruction::insert_before(bblock_t *block, exec_list *list)
|
||||
{
|
||||
assert(inst_is_in_block(block, this) || !"Instruction not in block");
|
||||
assert(block->end_ip_delta == 0);
|
||||
|
||||
unsigned num_inst = list->length();
|
||||
|
||||
block->end_ip += num_inst;
|
||||
|
||||
adjust_later_block_ips(block, num_inst);
|
||||
|
||||
exec_node::insert_before(list);
|
||||
}
|
||||
|
||||
void
|
||||
backend_instruction::remove(bblock_t *block, bool defer_later_block_ip_updates)
|
||||
{
|
||||
|
Reference in New Issue
Block a user