aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-04-23 10:34:28 +0100
committerGitHub <noreply@github.com>2024-04-23 10:34:28 +0100
commit8cc34fadec71c358c2c69bbca236294afb259e02 (patch)
tree01a8919e1b7c2888f9d672fdf4c8bdc33abb27b1 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp
parenta68ea36b4a55352e89ab4a80d59b8ad8e614a3dc (diff)
downloadllvm-8cc34fadec71c358c2c69bbca236294afb259e02.zip
llvm-8cc34fadec71c358c2c69bbca236294afb259e02.tar.gz
llvm-8cc34fadec71c358c2c69bbca236294afb259e02.tar.bz2
[flang][OpenMP] Support reduction of allocatable variables (#88392)
Both arrays and trivial scalars are supported. Both cases must use by-ref reductions because both are boxed. My understanding of the standards are that OpenMP says that this should follow the rules of the intrinsic reduction operators in fortran, and fortran says that unallocated allocatable variables can only be referenced to allocate them or test if they are already allocated. Therefore we do not need a null pointer check in the combiner region.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions