pan/mdg: SSA_FIXED_MINIMUM already covered by PAN_IS_REG

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
This commit is contained in:
Alyssa Rosenzweig
2020-04-27 17:19:24 -04:00
committed by Marge Bot
parent 63eec105b2
commit 23337fd590
2 changed files with 1 additions and 3 deletions
@@ -74,8 +74,6 @@ midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block)
/* We only work on pure SSA */
if (to >= SSA_FIXED_MINIMUM) continue;
if (from >= SSA_FIXED_MINIMUM) continue;
if (to & PAN_IS_REG) continue;
if (from & PAN_IS_REG) continue;
+1 -1
View File
@@ -211,7 +211,7 @@ midgard_opt_fuse_dest_invert(compiler_context *ctx, midgard_block *block)
static bool
mir_strip_inverted(compiler_context *ctx, unsigned node)
{
if (node >= SSA_FIXED_MINIMUM)
if (node == SSA_FIXED_REGISTER(26))
return false;
/* Strips and returns the invert off a node */