[PATCH] D71124: [RISCV] support clang driver to select cpu
Kuan Hsu Chen (Zakk) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 18:44:00 PST 2020
khchen added a comment.
In D71124#2415424 <https://reviews.llvm.org/D71124#2415424>, @oceanfish81 wrote:
> I tried to build the following:
>
> https://gist.github.com/advancedwebdeveloper/09033869445a09a2e297a73387d46c41/raw/bf7dac33e256621c445f9e61f88a832e50d901a3/llvm_cpu_features_investigation.cpp
>
> but it didn't show me any CPU features, on https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Boot_under_QEMU
It seems <https://github.com/llvm/llvm-project/blob/48ddf5e182c61cb93d66325f5690312d9e9226eb/llvm/lib/Support/Host.cpp#L1602> `getHostCPUFeatures` does not support RISCV target.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71124/new/
https://reviews.llvm.org/D71124
More information about the llvm-commits
mailing list