From 90b1047fdf84724a00be36f204e790246ad63a72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Mon, 27 Jan 2020 08:16:29 +0100 Subject: [PATCH] aco: Print block_kind_export_end. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Useful when debugging issues with exports. Signed-off-by: Timur Kristóf 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 11d93ddf7b5..9324632d433 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -689,6 +689,8 @@ static void print_block_kind(uint16_t kind, FILE *output) fprintf(output, "needs_lowering, "); if (kind & block_kind_uses_demote) fprintf(output, "uses_demote, "); + if (kind & block_kind_export_end) + fprintf(output, "export_end, "); } void aco_print_block(const struct Block* block, FILE *output) -- 2.30.2