[llvm] [Offload] Add support for riscv64 to host plugin (PR #115773)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 14:33:36 PST 2024
================
@@ -440,6 +440,8 @@ struct GenELF64PluginTy final : public GenericPluginTy {
#else
return llvm::Triple::ppc64;
#endif
+#elif defined(__riscv) && (__riscv_xlen == 64)
+ return llvm::Triple::ArchType::riscv64;
----------------
aurel32 wrote:
Indeed good catch, I don't think so. I have launched a test build to confirm.
https://github.com/llvm/llvm-project/pull/115773
More information about the llvm-commits
mailing list