diff options
author | wanglei <wanglei@loongson.cn> | 2024-12-17 19:06:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 19:06:10 +0800 |
commit | bdf727065b581c45b68a81090272f497f1ce5485 (patch) | |
tree | d17b937bf23a53a845c16a5d083a97a1e11eafaf /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a7dafea384a519342b2fbe210ed101c1e67f3be7 (diff) | |
download | llvm-bdf727065b581c45b68a81090272f497f1ce5485.zip llvm-bdf727065b581c45b68a81090272f497f1ce5485.tar.gz llvm-bdf727065b581c45b68a81090272f497f1ce5485.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions