mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
SemaRISCVVectorLookup.cpp: Prune default:
block. [-Wcovered-switch-default]
This commit is contained in:
parent
8cd1f0d888
commit
64888d437c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user