diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-15 10:49:33 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-19 08:32:17 -0700 |
commit | d68019ad1f7c2a448a5ec4f85a261e9cfc2f8944 (patch) | |
tree | 5771e02d9469e550ba9aa75e2d45555665327dbc /src/panfrost/midgard/midgard_print.c | |
parent | e3a418fe866aea61b149db728f85c30f218adcd2 (diff) |
pan/midgard: Print predecessors in MIR
Just as a sanity check.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r-- | src/panfrost/midgard/midgard_print.c | 5 |
1 files changed, 5 insertions, 0 deletions
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"); } |