SemaRISCVVectorLookup.cpp: Prune default: block. [-Wcovered-switch-default]

This commit is contained in:
NAKAMURA Takumi 2023-05-03 01:30:03 +09:00
parent 8cd1f0d888
commit 64888d437c

View File

@ -82,8 +82,6 @@ static const RVVIntrinsicRecord RVSiFiveVectorIntrinsicRecords[] = {
static ArrayRef<PrototypeDescriptor>
ProtoSeq2ArrayRef(IntrinsicKind K, uint16_t Index, uint8_t Length) {
switch (K) {
default:
llvm_unreachable("Unsupported intrinsic kind.");
case IntrinsicKind::RVV:
return ArrayRef(&RVVSignatureTable[Index], Length);
case IntrinsicKind::SIFIVE_VECTOR: