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:
Ian Romanick
2023-03-21 19:13:03 -07:00
committed by Marge Bot
parent 179a694232
commit fb950a9edf
2 changed files with 0 additions and 16 deletions

View File

@@ -110,7 +110,6 @@ struct backend_instruction : public exec_node {
void remove(bblock_t *block, bool defer_later_block_ip_updates = false); void remove(bblock_t *block, bool defer_later_block_ip_updates = false);
void insert_after(bblock_t *block, backend_instruction *inst); void insert_after(bblock_t *block, backend_instruction *inst);
void insert_before(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 * True if the instruction has side effects other than writing to

View File

@@ -1204,21 +1204,6 @@ backend_instruction::insert_before(bblock_t *block, backend_instruction *inst)
exec_node::insert_before(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 void
backend_instruction::remove(bblock_t *block, bool defer_later_block_ip_updates) backend_instruction::remove(bblock_t *block, bool defer_later_block_ip_updates)
{ {