[flang-commits] [PATCH] D129616: Lower F08 bitwise-reduction intrinsics (IALL, IANY, IPARITY)

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jul 12 20:31:26 PDT 2022


tarunprabhu created this revision.
tarunprabhu added reviewers: clementval, klausler, vdonaldson, jeanPerier, kiranchandramohan.
tarunprabhu added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
tarunprabhu requested review of this revision.

This patch implements lowering for F08's `IALL`, `IANY` and `IPARITY` intrinsics. This calls the corresponding runtime functions. The implementation follows the implementation of the `SUM` and `PRODUCT` intrinsics.


https://reviews.llvm.org/D129616

Files:
  flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
  flang/lib/Lower/IntrinsicCall.cpp
  flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
  flang/test/Lower/Intrinsics/iall.f90
  flang/test/Lower/Intrinsics/iany.f90
  flang/test/Lower/Intrinsics/iparity.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129616.444141.patch
Type: text/x-patch
Size: 36137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220713/beeacaa1/attachment-0001.bin>


More information about the flang-commits mailing list