[clang] [llvm] Parse target attribute (PR #95519)

Tomas Matheson via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 03:56:27 PDT 2024


================
@@ -13725,12 +13725,10 @@ void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap,
 
     // Make a copy of the features as passed on the command line into the
     // beginning of the additional features from the function to override.
-    // AArch64 handles command line option features in parseTargetAttr().
-    if (!Target->getTriple().isAArch64())
----------------
tmatheson-arm wrote:

Removing this will break the dependency expansion done in `parseTargetAttr()`

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


More information about the cfe-commits mailing list