intel/brw: Drop compiler parameter from try_constant_propagate()
This is unused. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29624>
This commit is contained in:
@@ -937,8 +937,7 @@ try_copy_propagate(const brw_compiler *compiler, fs_inst *inst,
|
||||
|
||||
|
||||
static bool
|
||||
try_constant_propagate(const brw_compiler *compiler, fs_inst *inst,
|
||||
acp_entry *entry, int arg)
|
||||
try_constant_propagate(fs_inst *inst, acp_entry *entry, int arg)
|
||||
{
|
||||
bool progress = false;
|
||||
|
||||
@@ -1300,7 +1299,7 @@ opt_copy_propagation_local(const brw_compiler *compiler, linear_ctx *lin_ctx,
|
||||
iter != acp.end() && (*iter)->dst.nr == inst->src[i].nr;
|
||||
++iter) {
|
||||
if ((*iter)->src.file == IMM) {
|
||||
if (try_constant_propagate(compiler, inst, *iter, i)) {
|
||||
if (try_constant_propagate(inst, *iter, i)) {
|
||||
instruction_progress = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user