intel/elk: Remove some dead code

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41009>
This commit is contained in:
Matt Turner 2025-05-21 11:53:36 -04:00 committed by Marge Bot
parent 242130fde5
commit 6856ebe00d

View file

@ -1508,7 +1508,7 @@ elk_fs_generator::generate_code(const elk_cfg_t *cfg, int dispatch_width,
int start_offset = p->next_insn_offset;
int loop_count = 0, send_count = 0, nop_count = 0, sync_nop_count = 0;
int loop_count = 0, send_count = 0, nop_count = 0;
bool is_accum_used = false;
struct elk_disasm_info *elk_disasm_info = elk_disasm_initialize(p->isa, cfg);
@ -2244,7 +2244,7 @@ elk_fs_generator::generate_code(const elk_cfg_t *cfg, int dispatch_width,
"compacted %d to %d bytes.\n",
_mesa_shader_stage_to_abbrev(stage),
dispatch_width,
before_size / 16 - nop_count - sync_nop_count,
before_size / 16 - nop_count,
loop_count, perf.latency,
shader_stats.spill_count,
shader_stats.fill_count,
@ -2255,7 +2255,7 @@ elk_fs_generator::generate_code(const elk_cfg_t *cfg, int dispatch_width,
if (stats) {
stats->dispatch_width = dispatch_width;
stats->max_dispatch_width = dispatch_width;
stats->instructions = before_size / 16 - nop_count - sync_nop_count;
stats->instructions = before_size / 16 - nop_count;
stats->sends = send_count;
stats->loops = loop_count;
stats->cycles = perf.latency;