aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bi_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/bifrost/bi_print.c')
-rw-r--r--src/panfrost/bifrost/bi_print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c
index 68cbbedbb82..9c9f6770285 100644
--- a/src/panfrost/bifrost/bi_print.c
+++ b/src/panfrost/bifrost/bi_print.c
@@ -328,6 +328,13 @@ bi_print_instruction(bi_instruction *ins, FILE *fp)
fprintf(fp, ", ");
}
+ if (ins->type == BI_BRANCH) {
+ if (ins->branch.target)
+ fprintf(fp, "-> block%u", ins->branch.target->name);
+ else
+ fprintf(fp, "-> blockhole");
+ }
+
fprintf(fp, "\n");
}