Fix MSVC warning: "switch statement contains 'default' but no 'case' labels". NFCI.

llvm-svn: 298225
This commit is contained in:
Simon Pilgrim 2017-03-19 16:39:04 +00:00
parent 931904d777
commit 5fa1b9a12f

View File

@ -54,10 +54,7 @@ std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys,
FunctionType *AMDGPUIntrinsicInfo::getType(LLVMContext &Context, unsigned ID,
ArrayRef<Type*> Tys) const {
// FIXME: Re-use Intrinsic::getType machinery
switch (ID) {
default:
llvm_unreachable("unhandled intrinsic");
}
llvm_unreachable("unhandled intrinsic");
}
unsigned AMDGPUIntrinsicInfo::lookupName(const char *NameData,