[PATCH] D79972: [OpenMP5.0] map item can be non-contiguous for target update
Chi Chun Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 1 14:05:47 PDT 2020
cchen updated this revision to Diff 267725.
cchen added a comment.
- Use PointerIntPair to pass non-contiguous information in AST
- Error out in Sema if we don't have enough size information for cases involving pointers
- Allows `*arr[N][M]` since we don't need size information for the last dimension
- Add more test cases
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79972/new/
https://reviews.llvm.org/D79972
Files:
clang/include/clang/AST/OpenMPClause.h
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/OpenMP/target_update_ast_print.cpp
clang/test/OpenMP/target_update_codegen.cpp
clang/test/OpenMP/target_update_messages.cpp
clang/test/OpenMP/target_update_to_messages.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79972.267725.patch
Type: text/x-patch
Size: 81513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200601/d5ce3db6/attachment-0001.bin>
More information about the cfe-commits
mailing list