Index: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp =================================================================== --- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp +++ llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp @@ -1820,7 +1820,7 @@ return getRegPressureLimit(&AMDGPU::SGPR_32RegClass, const_cast(MF)); - return AMDGPUGenRegisterInfo::getRegPressureSetLimit(MF, Idx); + llvm_unreachable("Unexpected register pressure set!"); } const int *SIRegisterInfo::getRegUnitPressureSets(unsigned RegUnit) const {