pan/bi: Print flow control on instructions

This helps debug the flow control lowering passes on Valhall.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16804>
This commit is contained in:
Alyssa Rosenzweig 2022-06-01 11:37:48 -04:00 committed by Marge Bot
parent c0180f6bd3
commit 82b1897900
1 changed files with 3 additions and 0 deletions

View File

@ -180,6 +180,9 @@ bi_print_instr(const bi_instr *I, FILE *fp)
if (I->table)
fprintf(fp, ".table%u", I->table);
if (I->flow)
fprintf(fp, ".flow%u", I->flow);
if (I->op == BI_OPCODE_COLLECT_I32) {
for (unsigned i = 0; i < I->nr_srcs; ++i) {
if (i > 0)