aco: disable disassembly for SI/CI due to lack of support by LLVM

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
This commit is contained in:
Daniel Schürmann 2019-11-15 16:29:32 +01:00
parent 1c4afe38f2
commit 79ce6c1b33
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ namespace aco {
void print_asm(Program *program, std::vector<uint32_t>& 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<bool> referenced_blocks(program->blocks.size());
referenced_blocks[0] = true;
for (Block& block : program->blocks) {