[clang] [llvm] [AArch64] Add support for -mcpu=gb10. (PR #146515)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 05:21:22 PDT 2025


================
@@ -179,22 +179,39 @@ StringRef sys::detail::getHostCPUNameForARM(StringRef ProcCpuinfoContent) {
   // Look for the CPU implementer line.
   StringRef Implementer;
   StringRef Hardware;
-  StringRef Part;
+  SmallVector<StringRef, 32> Parts;
----------------
sjoerdmeijer wrote:

Nit: this probably now benefits from a comment explaining that Parts can contain multiple CPUs, e.g. for a big.little config such as cortex-x925.cortex-a725.

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


More information about the llvm-commits mailing list