From d68019ad1f7c2a448a5ec4f85a261e9cfc2f8944 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 15 Aug 2019 10:49:33 -0700 Subject: pan/midgard: Print predecessors in MIR Just as a sanity check. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_print.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/panfrost/midgard') 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"); } -- cgit v1.2.3