diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-09-27 08:20:17 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-09-30 08:40:13 -0400 |
commit | 0ecfcbf46225bfb14f92a515ca2140ad2cbc4646 (patch) | |
tree | 1b9c510382a83c2a633012e061b3f4a410d4e421 /src/panfrost/midgard | |
parent | ad05e8a52ce19f5b48302677b0c0f9ec24a27ed8 (diff) |
pan/midgard: Squeeze indices before scheduling
This allows node_count to be correct while scheduling.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |