[PATCH] D79972: [OpenMP5.0] map item can be non-contiguous for target update
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 06:30:55 PDT 2020
ABataev added inline comments.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:16665
// Record the component - we don't have any declaration associated.
- Components.emplace_back(OASE, nullptr);
+ Components.emplace_back(OASE, nullptr, false);
return RelevantExpr || Visit(E);
----------------
`/*IsNonContiguous=*/false`
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:16685
// Record the component if haven't found base decl.
- Components.emplace_back(UO, nullptr);
+ Components.emplace_back(UO, nullptr, false);
}
----------------
`/*IsNonContiguous=*/false`
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:18470-18473
+ MVLI.VarComponents.back().emplace_back(
+ OMPClauseMappableExprCommon::MappableComponent(
+ SimpleRefExpr, D,
+ /*IsNonContiguous=*/false));
----------------
`.emplace_back(SimpleRefExpr, D, /*IsNonContiguous=*/false);`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79972/new/
https://reviews.llvm.org/D79972
More information about the cfe-commits
mailing list