================ @@ -88,10 +88,14 @@ StringRef AArch64::getArchExtFeature(StringRef ArchExt) { void AArch64::fillValidCPUArchList(SmallVectorImpl<StringRef> &Values) { for (const auto &C : CpuInfos) - Values.push_back(C.Name); + Values.push_back(C.Name); for (const auto &Alias : CpuAliases) - Values.push_back(Alias.AltName); + // The apple-latest alias is backend only, do not expose it to clang's -mcpu. + if (Alias.AltName != "apple-latest") ---------------- jroelofs wrote:
`apple-latest` is a bit of a special snowflake, meant for disassemblers and debuggers. I'm not sure what else to do with it either. https://github.com/llvm/llvm-project/pull/96249 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits