aco: Print block_kind_export_end.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 27 Jan 2020 07:16:29 +0000 (08:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 11:29:35 +0000 (11:29 +0000)
Useful when debugging issues with exports.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3576>

src/amd/compiler/aco_print_ir.cpp

index 11d93ddf7b518b7f21cda09de2cd41c9b1d1164c..9324632d433a2f50927397c118efd34e9f04d2eb 100644 (file)
@@ -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)