aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authoragozillon <Andrew.Gozillon@amd.com>2025-10-04 03:12:21 +0200
committerGitHub <noreply@github.com>2025-10-04 03:12:21 +0200
commit716fe1cbd9496564ac3588069846a52b8539df65 (patch)
tree4c3133b62d733b6653bd83fa116b0beb2db9463d /llvm/lib/Support/Parallel.cpp
parent0b543e39351a72f65521522fbe9f3622abc00b47 (diff)
downloadllvm-716fe1cbd9496564ac3588069846a52b8539df65.zip
llvm-716fe1cbd9496564ac3588069846a52b8539df65.tar.gz
llvm-716fe1cbd9496564ac3588069846a52b8539df65.tar.bz2
[Flang][OpenMP] Fix negative array indexing with allocatable derived type array maps (#154193)
The main problem is that the previous intermediate map generation for allocatable members wasn't quite handling negative bounds acccesses correctly, it seems to require slightly more complicated access using shape_shift/dimension information. So this more closely mimics what Flang generates in other cases now. There is still a path for non-Box types to go down the old route for the moment, so it is possible we may still have issues with negative bounds in these cases. But, that's better in another PR if we come across it, instead of too much change in this one.
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions