[PATCH] D60620: [HIP] Support target id by --offload-arch
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 26 13:38:27 PDT 2020
yaxunl updated this revision to Diff 266315.
yaxunl marked an inline comment as done.
yaxunl added a comment.
Herald added subscribers: kerbowa, nhaehnle, jvesely.
Fixed passing target id to clang -cc1. Added predefined macros for target id.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60620/new/
https://reviews.llvm.org/D60620
Files:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Basic/OffloadArch.h
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/OffloadArch.cpp
clang/lib/Basic/Targets/AMDGPU.cpp
clang/lib/Basic/Targets/AMDGPU.h
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/AMDGPU.h
clang/lib/Driver/ToolChains/HIP.cpp
clang/test/Driver/amdgpu-macros.cl
clang/test/Driver/invalid-target-id.cl
clang/test/Driver/invalid-target-id.hip
clang/test/Driver/target-id-macros.cl
clang/test/Driver/target-id-macros.hip
clang/test/Driver/target-id.cl
clang/test/Driver/target-id.hip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60620.266315.patch
Type: text/x-patch
Size: 33449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200526/a3a5b346/attachment-0001.bin>
More information about the cfe-commits
mailing list