From: Alyssa Rosenzweig Date: Thu, 15 Aug 2019 17:49:33 +0000 (-0700) Subject: pan/midgard: Print predecessors in MIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d68019ad1f7c2a448a5ec4f85a261e9cfc2f8944;p=mesa.git pan/midgard: Print predecessors in MIR Just as a sanity check. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c index 240780a1f7d..1f8bd12680e 100644 --- a/src/panfrost/midgard/midgard_print.c +++ b/src/panfrost/midgard/midgard_print.c @@ -178,6 +178,11 @@ mir_print_block(midgard_block *block) } } + printf(" from { "); + mir_foreach_predecessor(block, pred) + printf("block%d ", pred->source_id); + printf("}"); + printf("\n\n"); }