aco: change return type of create_instruction() to Instruction*
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28370>
This commit is contained in:
committed by
Marge Bot
parent
cd62f97719
commit
9b0ebcc39b
@@ -686,9 +686,8 @@ create_vopd_instruction(const SchedILPContext& ctx, unsigned idx)
|
||||
get_vopd_opcode_operands(x, x_info, swap_x, &x_op, &num_operands, operands);
|
||||
get_vopd_opcode_operands(y, y_info, swap_y, &y_op, &num_operands, operands + num_operands);
|
||||
|
||||
VOPD_instruction* instr =
|
||||
create_instruction<VOPD_instruction>(x_op, Format::VOPD, num_operands, 2);
|
||||
instr->opy = y_op;
|
||||
Instruction* instr = create_instruction<VOPD_instruction>(x_op, Format::VOPD, num_operands, 2);
|
||||
instr->vopd().opy = y_op;
|
||||
instr->definitions[0] = x->definitions[0];
|
||||
instr->definitions[1] = y->definitions[0];
|
||||
std::copy(operands, operands + num_operands, instr->operands.begin());
|
||||
|
||||
Reference in New Issue
Block a user