We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8afe59f commit 0e88278Copy full SHA for 0e88278
llvm/lib/TargetParser/RISCVTargetParser.cpp
@@ -73,7 +73,7 @@ bool hasFastVectorUnalignedAccess(StringRef CPU) {
73
74
bool hasValidCPUModel(StringRef CPU) {
75
const CPUInfo *Info = getCPUInfoByName(CPU);
76
- return Info && Info->MVendorID;
+ return Info && Info->MVendorID && Info->MArchID && Info->MImpID;
77
}
78
79
uint32_t getVendorID(StringRef CPU) {
0 commit comments