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

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 11:38:50 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.
----------------
jroelofs wrote:

I think we're stuck with it permanently, bitcode or not. I copied the comment over to keep some "provenance" of why it's still there, given we've moved entirely to `apple-[am]\d+` ish spellings in open source.

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


More information about the cfe-commits mailing list