Currently on MacOS getHostCPUName only detects M1 processors and not M2 processors. The M2 CPU family is the following:
❯ sysctl hw.cpufamily hw.cpufamily: -634136515
Differential D158840
Detect apple M2 processor targets orf on Aug 25 2023, 5:54 AM. Authored by
Details
Currently on MacOS getHostCPUName only detects M1 processors and not M2 processors. The M2 CPU family is the following: ❯ sysctl hw.cpufamily hw.cpufamily: -634136515
Diff Detail
Unit Tests
Event TimelineComment Actions I added @t.p.northover as a reviewer because of the changes he made here https://reviews.llvm.org/D134351. I've got no idea who else I should add, so apologies if this is the wrong person! |