[llvm] [RISCV] Add support for getHostCPUFeatures using hwprobe (PR #94352)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 08:08:34 PDT 2024
dtcxzyw wrote:
> Do you offer an alternative/default implementation when __NR_riscv_hwprobe is not available, e.g., in docker containers?
Is `/proc/cpuinfo` available in containers? If so, I can provide a fallback implementation by reading the `isa` field from this file.
https://github.com/llvm/llvm-project/pull/94352
More information about the llvm-commits
mailing list