From bbdbab15fc45b2cc303c87c2848ecd367d3db6cd Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 16 Jun 2023 07:30:51 -0400 Subject: [PATCH] aco: Drop NIR parallel copy handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backends never see these instructions. Signed-off-by: Alyssa Rosenzweig Suggested-by: Daniel Schürmann Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_instruction_selection_setup.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index 57247c75cc3..4afe8928224 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -596,12 +596,6 @@ init_context(isel_context* ctx, nir_shader* shader) regclasses[tex->dest.ssa.index] = rc; break; } - case nir_instr_type_parallel_copy: { - nir_foreach_parallel_copy_entry (entry, nir_instr_as_parallel_copy(instr)) { - regclasses[entry->dest.ssa.index] = regclasses[entry->src.ssa->index]; - } - break; - } case nir_instr_type_ssa_undef: { unsigned num_components = nir_instr_as_ssa_undef(instr)->def.num_components; unsigned bit_size = nir_instr_as_ssa_undef(instr)->def.bit_size;