We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4914cdd commit 632db80Copy full SHA for 632db80
llvm/lib/TargetParser/Host.cpp
@@ -1672,11 +1672,13 @@ StringRef sys::getHostCPUName() {
1672
return "generic";
1673
}
1674
#elif defined(__riscv)
1675
+#if defined(__linux__)
1676
// struct riscv_hwprobe
1677
struct RISCVHwProbe {
1678
int64_t Key;
1679
uint64_t Value;
1680
};
1681
+#endif
1682
1683
StringRef sys::getHostCPUName() {
1684
#if defined(__linux__)
0 commit comments