diff options
author | Daniel Paoliello <danpao@microsoft.com> | 2025-08-06 11:39:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 11:39:41 -0700 |
commit | a418fa7cdcf4f334a1955389fcec483ea2c77c44 (patch) | |
tree | 4dad46825bf79da6ee219acfc0fe2ce2a689a965 /llvm/lib/TextAPI/TextStubCommon.cpp | |
parent | a1209d868632b8aea10450cd2323848ab0b6776a (diff) | |
download | llvm-a418fa7cdcf4f334a1955389fcec483ea2c77c44.zip llvm-a418fa7cdcf4f334a1955389fcec483ea2c77c44.tar.gz llvm-a418fa7cdcf4f334a1955389fcec483ea2c77c44.tar.bz2 |
[win][aarch64] Add support for detecting the Host CPU on Arm64 Windows (#151596)
Uses the `CP 4000` registry keys under
`HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\*` to get the
Implementer and Part, which is then provided to a modified form of
`getHostCPUNameForARM` to map to a CPU.
On my local Surface Pro 11 `llc --version` reports:
```
> .\build\bin\llc.exe --version
LLVM (http://llvm.org/):
LLVM version 22.0.0git
Optimized build with assertions.
Default target: aarch64-pc-windows-msvc
Host CPU: oryon-1
```
Diffstat (limited to 'llvm/lib/TextAPI/TextStubCommon.cpp')
0 files changed, 0 insertions, 0 deletions