pan/midgard: Print predecessors in MIR
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 15 Aug 2019 17:49:33 +0000 (10:49 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 19 Aug 2019 15:32:17 +0000 (08:32 -0700)
Just as a sanity check.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_print.c

index 240780a1f7d6cb513c018298e71d33a980c1c6af..1f8bd12680ec30910d49b67ab68c0c763a6d2b79 100644 (file)
@@ -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");
 }