[PATCH] D96769: [OpenMP][AMDGPU] Skip backend and assemble phases for amdgcn
Pushpinder Singh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 04:26:55 PST 2021
pdhaliwal added inline comments.
================
Comment at: clang/lib/Driver/Driver.cpp:3057
+ for (unsigned I = 0; I < ToolChains.size(); ++I) {
+ Action *&A = OpenMPDeviceActions[I];
+ // AMDGPU does not support linking of object files, so we skip
----------------
This logic is based on the assumption that the ith item in OpenMPDeviceActions corresponds to ith item in ToolChains array. Size of both lists is guaranteed to be same from assert on #3035.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96769/new/
https://reviews.llvm.org/D96769
More information about the cfe-commits
mailing list