diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-26 11:58:27 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-26 13:43:04 -0700 |
commit | 75b6be2435a93f826f736afe13600be9a76b92b4 (patch) | |
tree | f6c7e636673f50e3217fc8961c9750fde2051a29 /src/panfrost/midgard/midgard_opt_float.c | |
parent | 0309fb82ec410ea5e5da83727d9e3de3176c1df2 (diff) |
pan/midgard: Fold ssa_args into midgard_instruction
This is just a bit of refactoring to simplify MIR.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_opt_float.c')
-rw-r--r-- | src/panfrost/midgard/midgard_opt_float.c | 2 |
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; |