aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authoragozillon <Andrew.Gozillon@amd.com>2024-03-22 15:32:39 +0100
committerGitHub <noreply@github.com>2024-03-22 15:32:39 +0100
commit8612fa0d84c730a753d04de012a8372ba5a10677 (patch)
tree072469d148f2550327290e5c5e901ea6d31d5b9b /llvm/lib/Object/ELF.cpp
parentd231e3b10ead90e4360f7ceb88e4bca9d42d7d04 (diff)
downloadllvm-8612fa0d84c730a753d04de012a8372ba5a10677.zip
llvm-8612fa0d84c730a753d04de012a8372ba5a10677.tar.gz
llvm-8612fa0d84c730a753d04de012a8372ba5a10677.tar.bz2
[MLIR][OpenMP] Refactor bounds offsetting and fix to apply to all directives (#84349)
This PR refactors bounds offsetting by combining the two differing implementations (one applying to initial derived type member map implementation for descriptors and the other for regular arrays, effectively allocatable array vs regular array in fortran) now that it's a little simpler to do. The PR also moves the utilization of createAlteredByCaptureMap into genMapInfoOp, where it will be correctly applied to all MapInfoData, appropriately offsetting and altering Pointer data set in the kernel argument structure on the host. This primarily means bounds offsets will now correctly apply to enter/exit/update map clauses as opposed to just the Target directive that is currently the case. A few fortran runtime tests have been added to verify this new behavior. This PR depends on: https://github.com/llvm/llvm-project/pull/84328 and is an extraction of the larger derived type member map PR stack (so a requirement for it to land).
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions