From 5e0525e145a180dfbce359f83994137f8b8b7295 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 21 May 2020 01:03:57 -0700 Subject: [PATCH] intel/fs: Remove unused emission of load_simd_with_intel 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 Part-of: --- src/intel/compiler/brw_fs_nir.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index f7224d48bfc..8916f9b876e 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -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; -- 2.30.2