aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2025-03-19 17:12:32 -0700
committerGitHub <noreply@github.com>2025-03-19 17:12:32 -0700
commit2c91f10362502ebfb464691cdde1ba05be7cb50e (patch)
tree11869b8b9b4351dc199b51b7a3399f884548fa43 /llvm/lib
parentc50d39f073f3b0143b781be80764d183ddab88d4 (diff)
downloadllvm-2c91f10362502ebfb464691cdde1ba05be7cb50e.zip
llvm-2c91f10362502ebfb464691cdde1ba05be7cb50e.tar.gz
llvm-2c91f10362502ebfb464691cdde1ba05be7cb50e.tar.bz2
[flang] Fixed repacking for TARGET and INTENT(OUT) (#131972)
TARGET dummy arrays can be accessed indirectly, so it is unsafe to repack them. INTENT(OUT) dummy arrays that require finalization on entry to their subroutine must be copied-in by `fir.pack_arrays`. In addition, based on my testing results, I think it will be useful to document that `LOC` and `IS_CONTIGUOUS` will have different values for the repacked arrays. I still need to decide where to document this, so just added a note in the design doc for the time being.
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions