pan: move discard/kill_ssa flag after index for debug prints

Match the style of the disassembler when debug printing BIR.

Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40711>
This commit is contained in:
Jakob Sinclair 2026-04-01 14:40:46 +02:00 committed by Marge Bot
parent c3d56e9f82
commit a24364e418

View file

@ -68,11 +68,6 @@ bir_passthrough_name(unsigned idx)
static void
bi_print_index(FILE *fp, bi_index index, unsigned nr_regs)
{
if (index.discard)
fputs("^", fp);
if (index.kill_ssa)
fputs("!", fp);
if (bi_is_null(index))
fprintf(fp, "_");
else if (index.type == BI_INDEX_CONSTANT)
@ -95,6 +90,9 @@ bi_print_index(FILE *fp, bi_index index, unsigned nr_regs)
else
UNREACHABLE("Invalid index");
if (index.discard || index.kill_ssa)
fputs("^", fp);
if (index.offset)
fprintf(fp, "[%u]", index.offset);