[clang] [llvm] [X86] Support apxf in attribute target (PR #184078)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 18:52:50 PST 2026


================
@@ -179,10 +179,15 @@ bool X86TargetInfo::initFeatureMap(
       continue;
     }
 
+    if (llvm::X86::expandAPXFeatures(Feature, getTriple(), UpdatedFeaturesVec))
----------------
phoebewang wrote:

That's fine. There's no universal solution for all the cases. Along with your example, we have known some APX features are good/bad to some cases, but we even don't allow specify them individually..

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


More information about the llvm-commits mailing list