Files
clang-p2996/llvm/lib/TargetParser/RISCVTargetParser.cpp
Pengcheng Wang ce621041c2 [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.
2025-06-12 16:39:57 +08:00

7.3 KiB