[all-commits] [llvm/llvm-project] d8b61d: [OpenMP] Generate implicit default mapper for mapp...
jyu2-git via All-commits
all-commits at lists.llvm.org
Fri Aug 2 17:23:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8b61dd84b1acbc4f5a84b09bc1abd552a949189
https://github.com/llvm/llvm-project/commit/d8b61dd84b1acbc4f5a84b09bc1abd552a949189
Author: jyu2-git <jennifer.yu at intel.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/docs/OpenMPSupport.rst
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/OpenMP/target_map_nest_defalut_mapper_ast_dump.cpp
A clang/test/OpenMP/target_map_nest_defalut_mapper_codegen.cpp
A offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp
Log Message:
-----------
[OpenMP] Generate implicit default mapper for mapping array section. (#101101)
This is only for struct containing nested structs with user defined
mappers.
Add four functions:
1>buildImplicitMap: build map for default mapper
2>buildImplicitMapper: build default mapper.
3>hasUserDefinedMapper for given mapper name and mapper type, lookup
user defined map, if found one return true.
4>isImplicitMapperNeeded check if Mapper is needed
During create map, in checkMappableExpressionList, call
isImplicitMapperNeeded when it return true, call buildImplicitMapper to
generate implicit mapper and added to map clause.
https://github.com/llvm/llvm-project/pull/101101
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list