forked from OSchip/llvm-project
[AMDGPU] Add a message to an assert
This commit is contained in:
parent
0ee0c7dcc3
commit
dd3f7a494a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue