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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits