Skip to content

Commit ad95a31

Browse files
committed
Merge handleFullArchString logic, parseArchString will check whether start with "rv"
1 parent e8f4726 commit ad95a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Targets/RISCV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ static void handleFullArchString(StringRef FullArchStr,
388388
FullArchStr, /* EnableExperimentalExtension */ true);
389389
if (llvm::errorToBool(RII.takeError())) {
390390
// Forward the invalid FullArchStr.
391-
Features.push_back("+" + FullArchStr.str());
391+
Features.push_back(FullArchStr.str());
392392
} else {
393393
// Append a full list of features, including any negative extensions so that
394394
// we override the CPU's features.

0 commit comments

Comments
 (0)