aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2025-04-01 10:26:14 +0100
committerGitHub <noreply@github.com>2025-04-01 10:26:14 +0100
commite17d864f55133d46e12614280951ddb2dc43cc74 (patch)
tree8272a28d33a78674f0d4bf51328505680e5cc51c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentdca7e0370e9684c00d95fb810c4efd31af0a3a9f (diff)
downloadllvm-e17d864f55133d46e12614280951ddb2dc43cc74.zip
llvm-e17d864f55133d46e12614280951ddb2dc43cc74.tar.gz
llvm-e17d864f55133d46e12614280951ddb2dc43cc74.tar.bz2
[flang][OpenMP][Lower] lower array subscripts for task depend (#132994)
The OpenMP standard says that all dependencies in the same set of inter-dependent tasks must be non-overlapping. This simplification means that the OpenMP only needs to keep track of the base addresses of dependency variables. This can be seen in kmp_taskdeps.cpp, which stores task dependency information in a hash table, using the base address as a key. This patch generates a rebox operation to slice boxed arrays, but only the box data address is used for the task dependency. The extra box is optimized away by LLVM at O3. Vector subscripts are TODO (I will address in my next patch). This also fixes a bug for ordinary subscripts when the symbol was mapped to a box: Fixes #132647
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions