[all-commits] [llvm/llvm-project] bdf727: [Offload] Add support for loongarch64 to host plugin
wanglei via All-commits
all-commits at lists.llvm.org
Tue Dec 17 03:06:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bdf727065b581c45b68a81090272f497f1ce5485
https://github.com/llvm/llvm-project/commit/bdf727065b581c45b68a81090272f497f1ce5485
Author: wanglei <wanglei at loongson.cn>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M offload/CMakeLists.txt
M offload/plugins-nextgen/common/src/Utils/ELF.cpp
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/dynamic_ffi/ffi.h
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Add support for loongarch64 to host plugin
This adds support for the loongarch64 architecture to the offload host
plugin.
Similar to #115773
To fix some test issues, I've had to add the LoongArch64 target to:
- CompilerInvocation::ParseLangArgs
- linkDevice in ClangLinuxWrapper.cpp
- OMPContext::OMPContext (to set the device_kind_cpu trait)
Reviewed By: jhuber6
Pull Request: https://github.com/llvm/llvm-project/pull/120173
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list