[clang] [FMV][AIX] Implement target_clones (cpu-only) (PR #177428)

Zarko Todorovski via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 10:02:59 PDT 2026


================
@@ -678,6 +677,64 @@ void PPCTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features,
   }
 }
 
+bool PPCTargetInfo::isValidFeatureName(StringRef Name) const {
+  if (Name.empty())
+    return false;
+  // TODO: filter out unknown features
+  return true;
+}
----------------
ZarkoT wrote:

Maybe this function can be removed?

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


More information about the cfe-commits mailing list