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 /clang/lib/Sema/SemaModule.cpp | |
parent | 5434b85d2c7a83d9cebae06dad2f9d630e9a3927 (diff) | |
download | llvm-ce621041c2f162c50d630810491c2feee8eb6c64.zip llvm-ce621041c2f162c50d630810491c2feee8eb6c64.tar.gz llvm-ce621041c2f162c50d630810491c2feee8eb6c64.tar.bz2 |
[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 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions