[clang] [llvm] [llvm][AArch64] apple-m4 is armv9.2-a (PR #98267)
Tomas Matheson via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 12 03:39:22 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;
----------------
tmatheson-arm wrote:
Not sure I follow... Do you mean `-march=` has no effect if you specify `-mcpu`? That should probably be at least a warning.
https://github.com/llvm/llvm-project/pull/98267
More information about the cfe-commits
mailing list