[flang-commits] [PATCH] D129788: Lower F08 parity intrinsic

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jul 14 10:39:15 PDT 2022


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

This patch implements lowering for the F08 `parity` intrinsic. This is related to D129785 <https://reviews.llvm.org/D129785> which implements folding for the same.

This largely follows the implementation of the `any` and `all` intrinsics which are related.


https://reviews.llvm.org/D129788

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/parity.f90
  flang/unittests/Optimizer/Builder/Runtime/ReductionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129788.444723.patch
Type: text/x-patch
Size: 9931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220714/30c31448/attachment-0001.bin>


More information about the flang-commits mailing list