Skip to content

Commit c0371ab

Browse files
committed
Don't expand features for non-fmv extensions
1 parent 55d3820 commit c0371ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Targets/AArch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ bool AArch64TargetInfo::initFeatureMap(
10711071
// add target '+/-'features that can later disable some of features added on
10721072
// the first loop. Function Multi Versioning features begin with '?'.
10731073
for (const auto &Feature : FeaturesVec)
1074-
if (((Feature[0] == '?' || Feature[0] == '+')) &&
1074+
if (Feature[0] == '?' &&
10751075
AArch64TargetInfo::doesFeatureAffectCodeGen(Feature.substr(1))) {
10761076
StringRef DepFeatures =
10771077
AArch64TargetInfo::getFeatureDependencies(Feature.substr(1));

0 commit comments

Comments
 (0)