[clang] [llvm] [llvm][AArch64] Move Apple aliases into the CpuAlias map (PR #96249)

Tomas Matheson via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 03:27:19 PDT 2024


================
@@ -304,8 +304,21 @@ struct Alias {
   StringRef Name;
 };
 
-inline constexpr Alias CpuAliases[] = {{"cobalt-100", "neoverse-n2"},
-                                       {"grace", "neoverse-v2"}};
+inline constexpr Alias CpuAliases[] = {
+    {"cobalt-100", "neoverse-n2"},
+    {"grace", "neoverse-v2"},
+    // Support cyclone as an alias for apple-a7 so we can still LTO old bitcode.
----------------
tmatheson-arm wrote:

If you really want this to work only for bitcode (and not appear on `-mcpu`), could it be handled in the bitcode importer? Same for "apple-latest"?

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


More information about the cfe-commits mailing list