[clang] [llvm] [AArch64] Add a check for invalid default features (PR #104435)

Tomas Matheson via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 16 04:55:05 PDT 2024


================
@@ -283,9 +311,7 @@ static void EmitARMTargetDef(RecordKeeper &RK, raw_ostream &OS) {
     auto Profile = Arch->getValueAsString("Profile");
     auto ArchInfo = ArchInfoName(Major, Minor, Profile);
 
-    // The apple-latest alias is backend only, do not expose it to -mcpu.
-    if (Name == "apple-latest")
-      continue;
----------------
tmatheson-arm wrote:

This check is duplicated at line 260, unrelated to this change.

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


More information about the cfe-commits mailing list