aco/vn: remove instruction hash templates

This reuses the instruction data size helper used for creating instruction.
It also removes the hashing of the aco::spans used for operands and definitions,
which was redundant with hash finalization.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28527>
This commit is contained in:
Georg Lehmann
2024-04-02 16:36:20 +02:00
committed by Marge Bot
parent ea84b36592
commit be93e38152
3 changed files with 23 additions and 55 deletions
+1 -1
View File
@@ -1392,7 +1392,7 @@ Instruction::isTrans() const noexcept
instr_info.classes[(int)opcode] == instr_class::valu_double_transcendental;
}
static size_t
size_t
get_instr_data_size(Format format)
{
switch (format) {