From 85aa6f80af1369a652c1dfc74f5672568ed31854 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 9 Apr 2024 22:21:55 -0700 Subject: [PATCH] intel/brw: Drop BRW_OPCODE_IF from try_constant_propagate This was for Sandybridge's IF with embedded comparison, which only existed for a single generation of hardware. Since the compiler fork, we no longer support Sandybridge here. Reviewed-by: Caio Oliveira Part-of: --- src/intel/compiler/brw_fs_copy_propagation.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/compiler/brw_fs_copy_propagation.cpp b/src/intel/compiler/brw_fs_copy_propagation.cpp index 4a7e2f8d5e7..12427b26236 100644 --- a/src/intel/compiler/brw_fs_copy_propagation.cpp +++ b/src/intel/compiler/brw_fs_copy_propagation.cpp @@ -1119,7 +1119,6 @@ try_constant_propagate(fs_inst *inst, acp_entry *entry, int arg) break; case BRW_OPCODE_CMP: - case BRW_OPCODE_IF: if (arg == 1) { inst->src[arg] = val; progress = true;