From 27305680e24d69d00643fbb6122d93e877a636f7 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 21 Jul 2022 15:13:46 +0100 Subject: [PATCH] aco: improve printing of sgpr_null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_print_ir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index b90ac066387..1ebe9a3cfff 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -111,6 +111,8 @@ print_physReg(PhysReg reg, unsigned bytes, FILE* output, unsigned flags) fprintf(output, "scc"); } else if (reg == 126) { fprintf(output, "exec"); + } else if (reg == 125) { + fprintf(output, "null"); } else { bool is_vgpr = reg / 256; unsigned r = reg % 256;