From ab106049248d93b8b8a03c69b2ae9edab808bcdf Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Tue, 4 Mar 2025 17:30:14 +0000 Subject: [PATCH] aco/gfx12: fix printing of temporal hints Signed-off-by: Rhys Perry Reviewed-by: Georg Lehmann Part-of: --- src/amd/compiler/aco_print_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index 0facdf678e3..805eb9b12a0 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -253,7 +253,7 @@ print_cache_flags(enum amd_gfx_level gfx_level, const T& instr, FILE* output) fprintf(output, " non_temporal"); if (instr.cache.gfx12.temporal_hint & gfx12_atomic_accum_deferred_scope) fprintf(output, " accum_deferred_scope"); - } else if (instr.definitions.empty()) { + } else if (!instr.definitions.empty()) { switch (instr.cache.gfx12.temporal_hint) { case gfx12_load_regular_temporal: break; case gfx12_load_non_temporal: fprintf(output, " non_temporal"); break;