From: Alyssa Rosenzweig Date: Wed, 26 Feb 2020 18:51:07 +0000 (-0500) Subject: pan/midgard: Allow fusing inverted sources for inverted ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c59f9f3793bf06f2415cc925ce048fe6ab593ad;p=mesa.git pan/midgard: Allow fusing inverted sources for inverted ops It doesn't make a difference to the actual algorithm, so let's get rid of them. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_opt_invert.c b/src/panfrost/midgard/midgard_opt_invert.c index b0ca4bd257f..add8db0e2f2 100644 --- a/src/panfrost/midgard/midgard_opt_invert.c +++ b/src/panfrost/midgard/midgard_opt_invert.c @@ -242,7 +242,6 @@ midgard_opt_fuse_src_invert(compiler_context *ctx, midgard_block *block) /* Search for inverted bitwise */ if (ins->type != TAG_ALU_4) continue; if (!mir_is_bitwise(ins)) continue; - if (ins->invert) continue; if (!is_ssa_or_constant(ins->src[0])) continue; if (!is_ssa_or_constant(ins->src[1])) continue;