aco: Drop NIR parallel copy handling
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 16 Jun 2023 11:30:51 +0000 (07:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Jun 2023 13:25:22 +0000 (13:25 +0000)
Backends never see these instructions.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Suggested-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23831>

src/amd/compiler/aco_instruction_selection_setup.cpp

index 57247c7..4afe892 100644 (file)
@@ -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;