Files
Akash BanerjeeandCodex 48248dc30c [Flang][OpenMP] Fix non-contiguous and empty target updates (#240503)
Fix compiler lowering and runtime handling of non-contiguous `target
update` operations so multidimensional Fortran sections transfer only
the selected elements.

Preserve physical source strides and scalar-subscript shape, normalize
character bounds and strides, and retain descriptor storage for deferred
`nowait` updates. In libomptarget, merge only consecutive innermost
contiguous dimensions, skip empty updates before presence checks and
transfers, and use 64-bit traversal counts.

Add Flang/MLIR and C/C++/Fortran offload regression coverage for both
transfer directions, multidimensional gaps, empty and `present` updates,
wide characters, and `nowait`.

Includes https://github.com/llvm/llvm-project/pull/235006.

Fixes:
- https://amd-hub.atlassian.net/browse/LCOMPILER-2880
- https://amd-hub.atlassian.net/browse/LCOMPILER-2784

Co-authored-by: Codex <codex@openai.com>
2026-11-13 16:06:33 +00:00
..
…