[clang] [llvm] Split fmv and extensions (PR #92882)

Alexandros Lamprineas via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 06:59:33 PDT 2024


================
@@ -13754,11 +13760,14 @@ void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap,
     }
     Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features);
   } else if (const auto *TV = FD->getAttr<TargetVersionAttr>()) {
-    std::vector<std::string> Feats = filterFunctionTargetVersionAttrs(TV);
----------------
labrinea wrote:

Why this change? If this was the only use can we just delete filterFunctionTargetVersionAttrs?

https://github.com/llvm/llvm-project/pull/92882


More information about the cfe-commits mailing list