[clang] [llvm] [llvm][AArch64] apple-m4 is armv9.2-a (PR #98267)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 08:05:44 PDT 2024


================
@@ -161,14 +161,10 @@ struct CpuInfo {
   StringRef Name; // Name, as written for -mcpu.
   const ArchInfo &Arch;
   AArch64::ExtensionBitset
-      DefaultExtensions; // Default extensions for this CPU. These will be
-                         // ORd with the architecture defaults.
+      DefaultExtensions; // Default extensions for this CPU.
 
   AArch64::ExtensionBitset getImpliedExtensions() const {
-    AArch64::ExtensionBitset ImpliedExts;
-    ImpliedExts |= DefaultExtensions;
-    ImpliedExts |= Arch.DefaultExts;
-    return ImpliedExts;
+    return DefaultExtensions;
----------------
jroelofs wrote:

for example: https://clang.godbolt.org/z/4jW8nqK41

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


More information about the llvm-commits mailing list