aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorkhaki3 <47756807+khaki3@users.noreply.github.com>2024-06-06 11:16:40 -0700
committerGitHub <noreply@github.com>2024-06-06 11:16:40 -0700
commit88cdd9905597ace5b1ac7d080df5326d3399b3f8 (patch)
treeab0892acc53c7a136bad48a6b014dbde0892545e /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent9eac38a000d510e9b162d6996816ef298019b553 (diff)
downloadllvm-88cdd9905597ace5b1ac7d080df5326d3399b3f8.zip
llvm-88cdd9905597ace5b1ac7d080df5326d3399b3f8.tar.gz
llvm-88cdd9905597ace5b1ac7d080df5326d3399b3f8.tar.bz2
[flang] Add reduction semantics to fir.do_loop (#93934)
Derived from #92480. This PR introduces reduction semantics into loops for DO CONCURRENT REDUCE. The `fir.do_loop` operation now invisibly has the `operandSegmentsizes` attribute and takes variable-length reduction operands with their operations given as `fir.reduce_attr`. For the sake of compatibility, `fir.do_loop`'s builder has additional arguments at the end. The `iter_args` operand should be placed in front of the declaration of result types, so the new operand for reduction variables (`reduce`) is put in the middle of arguments.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions