diff options
| author | Pengcheng Wang <wangpengcheng.pp@bytedance.com> | 2025-06-12 16:39:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 16:39:57 +0800 |
| commit | ce621041c2f162c50d630810491c2feee8eb6c64 (patch) | |
| tree | 3139fb28069743a4343c2655d86494afaae607f8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5434b85d2c7a83d9cebae06dad2f9d630e9a3927 (diff) | |
[RISCV] Get host CPU name via hwprobe (#142745)
We can get the `mvendorid/marchid/mimpid` via hwprobe and then we
can compare these IDs with those defined in processors to find the
CPU name.
With this change, `-mcpu/-mtune=native` can set the proper name.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
