aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-07-12 10:28:11 +0100
committerGitHub <noreply@github.com>2024-07-12 10:28:11 +0100
commit87bf82d14d7f03ce67ddd56d9da457a23c316f0e (patch)
tree8ce01dfe324ffa55bf23f304129a79f71d71b1f1 /clang/lib/CodeGen/CodeGenModule.cpp
parentc0a5bf80018122735fab18d81e8b7fbbb9466ddc (diff)
downloadllvm-87bf82d14d7f03ce67ddd56d9da457a23c316f0e.zip
llvm-87bf82d14d7f03ce67ddd56d9da457a23c316f0e.tar.gz
llvm-87bf82d14d7f03ce67ddd56d9da457a23c316f0e.tar.bz2
[mlir][OpenMP] Lower REDUCTION clause for SECTIONS construct (#97859)
This shares code with WsloopOp (the changes to Wsloop should be NFC). OpenMPIRBuilder basically implements SECTIONS as a wsloop over a case statement with each SECTION as a case for a particular loopiv value. Unfortunately it proved very difficult to share code between these and ParallelOp. ParallelOp does quite a few things differently (doing more work inside of the bodygen callback and laying out blocks differently). Aligning reduction implementations for wsloop and parallel will probably involve functional changes to both, so I won't attempt that in this commit.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions