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 62d6560 commit 326667dCopy full SHA for 326667d
llvm/lib/TargetParser/RISCVISAInfo.cpp
@@ -398,11 +398,10 @@ RISCVISAInfo::parseFeatures(unsigned XLen,
398
399
for (auto &Feature : Features) {
400
StringRef ExtName = Feature;
401
- bool Experimental = false;
402
assert(ExtName.size() > 1 && (ExtName[0] == '+' || ExtName[0] == '-'));
403
bool Add = ExtName[0] == '+';
404
ExtName = ExtName.drop_front(1); // Drop '+' or '-'
405
- Experimental = stripExperimentalPrefix(ExtName);
+ bool Experimental = stripExperimentalPrefix(ExtName);
406
auto ExtensionInfos = Experimental
407
? ArrayRef(SupportedExperimentalExtensions)
408
: ArrayRef(SupportedExtensions);
0 commit comments