[clang] [llvm] [AArch64][TargetParser] Split FMV and extensions (PR #92882)
    Alexandros Lamprineas via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun 19 00:56:44 PDT 2024
    
    
  
================
@@ -13683,9 +13683,9 @@ static std::vector<std::string> getFMVBackendFeaturesFor(
     const llvm::SmallVectorImpl<StringRef> &FMVFeatStrings) {
   std::vector<std::string> BackendFeats;
   for (StringRef F : FMVFeatStrings) {
-    if (auto FMVExt = llvm::AArch64::parseArchExtension(F)) {
+    if (auto FMVExt = llvm::AArch64::parseFMVExtension(F)) {
       SmallVector<StringRef, 8> Feats;
-      FMVExt->DependentFeatures.split(Feats, ',', -1, false);
+      FMVExt->Features.split(Feats, ',', -1, false);
----------------
labrinea wrote:
You can use getImpliedFeatures() here.
https://github.com/llvm/llvm-project/pull/92882
    
    
More information about the llvm-commits
mailing list