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:
committed by
Marge Bot
parent
63eec105b2
commit
23337fd590
@@ -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;
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user