[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:
> 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.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the llvm-commits