diff options
author | Erich Keane <ekeane@nvidia.com> | 2025-09-02 08:56:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 08:56:39 -0700 |
commit | 85136993b6aea653bf78b8f1eb86a49ada9c02c7 (patch) | |
tree | 34e8664ce58c30e8ac131734578d3fa4186a2143 /clang/lib/Frontend/FrontendAction.cpp | |
parent | cb80fa756c4fcbc4f5deba16da857ed309e044cf (diff) | |
download | llvm-85136993b6aea653bf78b8f1eb86a49ada9c02c7.zip llvm-85136993b6aea653bf78b8f1eb86a49ada9c02c7.tar.gz llvm-85136993b6aea653bf78b8f1eb86a49ada9c02c7.tar.bz2 |
[OpenACC] 'reduction' 'one-init' lowering, */&& operators. (#156122)
The * and && operators of a reduction require a starting value of '1'.
This patch implements that by looping through every type and creating an
init-list that puts a 1 in place of every initializer.
This patch will be followed up by a patch that generalizes this, as
`min`, `max`, and `&` all have different initial values.
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions