aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authoragozillon <Andrew.Gozillon@amd.com>2024-11-16 12:26:29 +0100
committerGitHub <noreply@github.com>2024-11-16 12:26:29 +0100
commitb5db75bfce0feac70f95a8e10d4ceba068d07bd3 (patch)
treefb0bfc659ce784b0ce51ca54d358edc1fc549d47 /clang/lib/CodeGen/CodeGenFunction.cpp
parent372344995568cae076477a8b0e98fcdec7c49379 (diff)
downloadllvm-b5db75bfce0feac70f95a8e10d4ceba068d07bd3.zip
llvm-b5db75bfce0feac70f95a8e10d4ceba068d07bd3.tar.gz
llvm-b5db75bfce0feac70f95a8e10d4ceba068d07bd3.tar.bz2
[OpenMP][MLIR] Descriptor explicit member map lowering changes (#113556)
This is one of 3 PRs in a PR stack that aims to add support for explicit mapping of allocatable members in derived types. The primary changes in this PR are the OpenMPToLLVMIRTranslation.cpp changes, which are small and seek to alter the current member mapping to add an additional map insertion for pointers. Effectively, if the member is a pointer (currently indicated by having a varPtrPtr field) we add an additional map for the pointer and then alter the subsequent mapping of the member (the data) to utilise the member rather than the parents base pointer. This appears to be necessary in certain cases when mapping pointer data within record types to avoid segfaulting on device (due to incorrect data mapping). In general this record type mapping may be simplifiable in the future. There are also additions of tests which should help to showcase the affect of the changes above.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions