aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorerichkeane <ekeane@nvidia.com>2024-12-06 11:19:51 -0800
committererichkeane <ekeane@nvidia.com>2024-12-09 14:06:44 -0800
commit7d89ebfd5f93577e7b1f12d1d21ee3e87eacde07 (patch)
tree949155f2936cf575485a56088a5699e0c46960f6 /clang/lib/CodeGen/CodeGenModule.cpp
parent44cd8f0d06b7efcd0101d9101f822386e12e4d66 (diff)
downloadllvm-7d89ebfd5f93577e7b1f12d1d21ee3e87eacde07.zip
llvm-7d89ebfd5f93577e7b1f12d1d21ee3e87eacde07.tar.gz
llvm-7d89ebfd5f93577e7b1f12d1d21ee3e87eacde07.tar.bz2
[OpenACC] Implement 'reduction' for combined constructs.
Once again, this is a clause on a combined construct that does almost exactly what the loop/compute construct version does, only with some sl ightly different evaluation rules/sema rules as it doesn't have to consider the parent, just the 'combined' construct. The two sets of rules for reduction on loop and compute are fine together, so this ensures they are all enforced for this too. The 'gangs' 'num_gangs' 'reduction' diagnostic (Dim>1) had to be applied to num_gangs as well, as it previously wasn't permissible to get in this situation, but we now can.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions