From: Daniel Schürmann Date: Fri, 15 Nov 2019 15:29:32 +0000 (+0100) Subject: aco: disable disassembly for SI/CI due to lack of support by LLVM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79ce6c1b332c37329f658758660eb095ea9a58f5;p=mesa.git aco: disable disassembly for SI/CI due to lack of support by LLVM Reviewed-by: Rhys Perry --- diff --git a/src/amd/compiler/aco_print_asm.cpp b/src/amd/compiler/aco_print_asm.cpp index 743824888d6..4b0ce26994b 100644 --- a/src/amd/compiler/aco_print_asm.cpp +++ b/src/amd/compiler/aco_print_asm.cpp @@ -11,6 +11,10 @@ namespace aco { void print_asm(Program *program, std::vector& binary, unsigned exec_size, std::ostream& out) { + if (program->chip_class <= GFX7) { + out << "Disassembly for this GPU currently not supported." << std::endl; + return; + } std::vector referenced_blocks(program->blocks.size()); referenced_blocks[0] = true; for (Block& block : program->blocks) {