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

Mikołaj Piróg via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 04:12:05 PST 2026


================
@@ -179,6 +179,31 @@ bool X86TargetInfo::initFeatureMap(
       continue;
     }
 
+    // Expand apxf to the individual APX features
----------------
mikolaj-pirog wrote:

Right, I've deduplicated the code. There's small change in logic -- now the driver will expand -mno-apx to remove all features even on Windows (previously push2pop2, ppx weren't removed -- I believe they should, they shouldn't be added, but why skip removing them on Windows?

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


More information about the cfe-commits mailing list