intel/fs: Remove unused emission of load_simd_with_intel
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 21 May 2020 08:03:57 +0000 (01:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 20:35:03 +0000 (20:35 +0000)
The nir_intrinsic_load_simd_width_intel is always lowered by the
brw_nir_lower_simd() pass before the emission happens.  This is likely
a "leftover" from patch rewriting/squashing that happened when this
intrinsic was added.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5213>

src/intel/compiler/brw_fs_nir.cpp

index f7224d48bfc0eaee1b32524c3ffe360eeb2c0644..8916f9b876e53dbcc249d086cf9e869f581b7500 100644 (file)
@@ -3879,11 +3879,6 @@ fs_visitor::nir_emit_cs_intrinsic(const fs_builder &bld,
       break;
    }
 
-   case nir_intrinsic_load_simd_width_intel: {
-      bld.MOV(dest, brw_imm_ud(cs_prog_data->simd_size));
-      break;
-   };
-
    default:
       nir_emit_intrinsic(bld, instr);
       break;