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 471abce commit 066445eCopy full SHA for 066445e
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
@@ -2827,7 +2827,7 @@ bool RISCVAsmParser::parseDirectiveOption() {
2827
break;
2828
}
2829
2830
- std::string &&Feature = RISCVISAInfo::getTargetFeatureForExtension(Arch);
+ std::string Feature = RISCVISAInfo::getTargetFeatureForExtension(Arch);
2831
if (DisableExperimentalExtension &&
2832
StringRef(Feature).starts_with("experimental-"))
2833
return Error(Loc, "Unexpected experimental extensions.");
0 commit comments