aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_schedule.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-10-03 21:16:56 -0400
committerAlyssa Rosenzweig <[email protected]>2019-10-03 22:29:51 -0400
commit3450c013c5a90c1689287c69aaf0e41eae147bc3 (patch)
treec4724402d5d8ffa12341fd65286fbf702b8a8478 /src/panfrost/midgard/midgard_schedule.c
parent846e5d5ba82abea9fcba3a7a763f5d57a03269b3 (diff)
pan/midgard: Begin tracking liveness metadata
This will allow us to explicitly invalidate liveness analysis results so we can cache liveness results. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_schedule.c')
-rw-r--r--src/panfrost/midgard/midgard_schedule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c
index d5fd17bc6db..a4ffa54c532 100644
--- a/src/panfrost/midgard/midgard_schedule.c
+++ b/src/panfrost/midgard/midgard_schedule.c
@@ -1393,6 +1393,7 @@ schedule_program(compiler_context *ctx)
mir_spill_register(ctx, g, &spill_count);
mir_squeeze_index(ctx);
+ mir_invalidate_liveness(ctx);
g = NULL;
g = allocate_registers(ctx, &spilled);