================
@@ -495,7 +495,10 @@ static bool checkTargetOptions(const TargetOptions
&TargetOpts,
SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(),
TargetOpts.FeaturesAsWritten.end());
llvm::sort(ExistingFeatures);
+ ExistingFeatures.erase(llvm::unique(ExistingFeatures),
+ ExistingFeatures.end());
llvm::sort(ReadFeatures);
+ ReadFeatures.erase(llvm::unique(ReadFeatures), ReadFeatures.end());
----------------
fmayer wrote:
my (cursory) understanding is that e.g. `+sse2` also implicitly `+sse`
https://github.com/llvm/llvm-project/pull/187614
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits