[PATCH] D105274: Define sys::getHostCPUName for RISC-V

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 23 08:42:28 PDT 2021


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Support/Host.cpp:1346
+#error "Unhandled value of __riscv_xlen"
+  return "generic";
+#endif
----------------
remove

the return value is unused due to  #error.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105274/new/

https://reviews.llvm.org/D105274



More information about the llvm-commits mailing list