diff options
| author | khaki3 <47756807+khaki3@users.noreply.github.com> | 2024-06-06 11:16:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 11:16:40 -0700 |
| commit | 88cdd9905597ace5b1ac7d080df5326d3399b3f8 (patch) | |
| tree | ab0892acc53c7a136bad48a6b014dbde0892545e /lldb/test/Shell/ScriptInterpreter/Python/python.test | |
| parent | 9eac38a000d510e9b162d6996816ef298019b553 (diff) | |
| download | llvm-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 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions
