[flang] Implement IPARITY, PARITY, and FINDLOC reductions
authorpeter klausler <pklausler@nvidia.com>
Tue, 20 Apr 2021 16:19:21 +0000 (09:19 -0700)
committerpeter klausler <pklausler@nvidia.com>
Tue, 20 Apr 2021 19:25:42 +0000 (12:25 -0700)
commit8d672c0b3e70b060e215cbd13536a10b50f6fab2
tree77f8376681a868e1c07175475997945484863c8d
parentf2da1f68d815f97e1211da62e7e1f102941947e3
[flang] Implement IPARITY, PARITY, and FINDLOC reductions

Define APIs for, and implement, these three more recently-introduced
standard reduction transformational intrinsic functions to the runtime.

Differential Revision: https://reviews.llvm.org/D100863
flang/runtime/reduction.cpp
flang/runtime/reduction.h
flang/runtime/terminator.h
flang/runtime/tools.h
flang/unittests/RuntimeGTest/Reduction.cpp