================ @@ -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") ---------------- tmatheson-arm wrote:
I don't love this special case. But, not sure what to do about it. 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