[clang] [llvm] [llvm][AArch64] apple-m4 is armv9.2-a (PR #98267)
Jon Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 11 09:52:43 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:
This choice also makes `-march=` meaningless, so @ahmedbougacha and I are considering making that an error at least on Darwin platforms.
https://github.com/llvm/llvm-project/pull/98267
More information about the cfe-commits
mailing list