[all-commits] [llvm/llvm-project] a706a5: [Support] Define sys::getHostCPUName for RISC-V
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Oct 8 10:08:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a706a5ef225125e4afd37c7709cf697514cd2187
https://github.com/llvm/llvm-project/commit/a706a5ef225125e4afd37c7709cf697514cd2187
Author: Andreas Schwab <schwab at suse.de>
Date: 2021-10-08 (Fri, 08 Oct 2021)
Changed paths:
M llvm/lib/Support/Host.cpp
Log Message:
-----------
[Support] Define sys::getHostCPUName for RISC-V
The RISCV target doesn't define a "generic" cpu, only "generic-rv32" and
"generic-rv64". Define sys::getHostCPUName for RISC-V that returns the
correct cpu for the host.
Reviewed By: craig.topper, MaskRay
Differential Revision: https://reviews.llvm.org/D105274
More information about the All-commits
mailing list