Skip to content

Commit

Permalink
SemaRISCVVectorLookup.cpp: Prune default: block. [-Wcovered-switch-…
Browse files Browse the repository at this point in the history
…default]
  • Loading branch information
chapuni committed May 2, 2023
1 parent 8cd1f0d commit 64888d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clang/lib/Sema/SemaRISCVVectorLookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 64888d4

Please sign in to comment.