aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_opt_float.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/midgard_opt_float.c')
-rw-r--r--src/panfrost/midgard/midgard_opt_float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_opt_float.c b/src/panfrost/midgard/midgard_opt_float.c
index 630620120e3..39f95202857 100644
--- a/src/panfrost/midgard/midgard_opt_float.c
+++ b/src/panfrost/midgard/midgard_opt_float.c
@@ -52,7 +52,7 @@ midgard_opt_promote_fmov(compiler_context *ctx, midgard_block *block)
mir_foreach_instr_in_block(block, ins) {
if (ins->type != TAG_ALU_4) continue;
if (ins->alu.op != midgard_alu_op_imov) continue;
- if (ins->ssa_args.inline_constant) continue;
+ if (ins->has_inline_constant) continue;
if (!ins->has_constants) continue;
if (mir_nontrivial_source2_mod_simple(ins)) continue;
if (mir_nontrivial_outmod(ins)) continue;