[llvm] [RISCV] Get host CPU name via hwprobe (PR #142745)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 23:10:28 PDT 2025


wangpc-pp wrote:

Tested on Spacemit K1:
1. -mcpu=native
![image](https://github.com/user-attachments/assets/2b9e140f-075e-4d59-b261-470c5b7f0d2c)

2. -mtune=native
![image](https://github.com/user-attachments/assets/a5a18b46-7b6a-4b40-af7f-148ea06b4775)


https://github.com/llvm/llvm-project/pull/142745


More information about the llvm-commits mailing list