[AMDGPU] Add a message to an assert

This commit is contained in:
Sebastian Neubauer 2020-10-15 16:23:36 +02:00
parent 0ee0c7dcc3
commit dd3f7a494a
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ AMDGPUAsmPrinter::SIFunctionResourceInfo AMDGPUAsmPrinter::analyzeResourceUsage(
llvm_unreachable("src_pops_exiting_wave_id should not be used");
case AMDGPU::NoRegister:
assert(MI.isDebugInstr());
assert(MI.isDebugInstr() && "Instruction uses invalid noreg register");
continue;
case AMDGPU::VCC: