From 0ecfcbf46225bfb14f92a515ca2140ad2cbc4646 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Sep 2019 08:20:17 -0400 Subject: [PATCH] pan/midgard: Squeeze indices before scheduling This allows node_count to be correct while scheduling. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_schedule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index b8d9b5ec9be..2ed25da2e0d 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -983,6 +983,7 @@ schedule_program(compiler_context *ctx) /* Must be lowered right before RA */ mir_squeeze_index(ctx); mir_lower_special_reads(ctx); + mir_squeeze_index(ctx); /* Lowering can introduce some dead moves */ -- 2.30.2