forked from OSchip/llvm-project
Fix "default label in switch which covers all enumeration values" warning
llvm-svn: 317771
This commit is contained in:
parent
e3992c6328
commit
bee1964d80
|
@ -310,8 +310,6 @@ bool SILoadStoreOptimizer::findMatchingInst(CombineInfo &CI) {
|
|||
AddrOpName[NumAddresses++] = AMDGPU::OpName::srsrc;
|
||||
AddrOpName[NumAddresses++] = AMDGPU::OpName::soffset;
|
||||
break;
|
||||
default:
|
||||
llvm_unreachable("invalid InstClass");
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < NumAddresses; i++) {
|
||||
|
|
Loading…
Reference in New Issue