Fix "default label in switch which covers all enumeration values" warning

llvm-svn: 317771
This commit is contained in:
Vitaly Buka 2017-11-09 07:46:13 +00:00
parent e3992c6328
commit bee1964d80
1 changed files with 0 additions and 2 deletions

View File

@ -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++) {