[PATCH] D134556: [Clang][OpenMP] Fix run time crash when use_device_addr is used.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 23 12:42:45 PDT 2022
ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:8561-8617
for (const auto *Cl : Clauses) {
const auto *C = dyn_cast<OMPUseDevicePtrClause>(Cl);
if (!C)
continue;
for (const auto L : C->component_lists()) {
OMPClauseMappableExprCommon::MappableExprComponentListRef Components =
std::get<1>(L);
----------------
Can you try to merge these 2 blocks somehow, they are very similar
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134556/new/
https://reviews.llvm.org/D134556
More information about the cfe-commits
mailing list