From 5e2c951ba61e01b223fe5bbd863436393185c6d9 Mon Sep 17 00:00:00 2001 From: Jakob Sinclair Date: Tue, 7 Apr 2026 11:27:43 +0200 Subject: [PATCH] pan: add sigil to SSA values for debug printing Make it easier to distinguish between SSA values and constant values when debug printing BIR. Reviewed-by: Christoph Pillmayer Part-of: --- src/panfrost/compiler/bifrost/bi_printer.c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/compiler/bifrost/bi_printer.c.py b/src/panfrost/compiler/bifrost/bi_printer.c.py index 2227d280310..64e2618041e 100644 --- a/src/panfrost/compiler/bifrost/bi_printer.c.py +++ b/src/panfrost/compiler/bifrost/bi_printer.c.py @@ -86,7 +86,7 @@ bi_print_index(FILE *fp, bi_index index, unsigned nr_regs) fprintf(fp, "%s%u", index.memory ? "m" : "r", index.value + i); } } else if (index.type == BI_INDEX_NORMAL) - fprintf(fp, "%s%u", index.memory ? "m" : "", index.value); + fprintf(fp, "%%%s%u", index.memory ? "m" : "", index.value); else UNREACHABLE("Invalid index");