mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
panfrost/midgard: Don't promote non-SSA to pipeline registers
Fixes: 33800f4612 ("panfrost/midgard: Implement "pipeline register"
prepass")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
36cb209787
commit
bfa9f56a2a
1 changed files with 3 additions and 1 deletions
|
|
@ -52,7 +52,9 @@ mir_pipeline_ins(
|
|||
if (ins->compact_branch)
|
||||
return false;
|
||||
|
||||
if ((dest < 0) || (dest >= SSA_FIXED_MINIMUM))
|
||||
/* Don't allow non-SSA. Pipelining registers is theoretically possible,
|
||||
* but the analysis is much hairier, so don't bother quite yet */
|
||||
if ((dest < 0) || (dest >= ctx->func->impl->ssa_alloc))
|
||||
return false;
|
||||
|
||||
/* We want to know if we live after this bundle, so check if
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue