[flang-commits] [PATCH] D138140: [flang] Lower F08 FINDLOC intrinsic

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Nov 16 09:24:56 PST 2022


tarunprabhu created this revision.
tarunprabhu added reviewers: kiranchandramohan, klausler, PeteSteinfeld, jeanPerier, 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.

The implementation follows the patterns established by the lowering of other similar intrinsics.

In addition to the code for lowering, the DoTotalReduction template had to be fixed to correctly break when signaled to do so by the accumulator function.


https://reviews.llvm.org/D138140

Files:
  flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
  flang/lib/Lower/IntrinsicCall.cpp
  flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
  flang/runtime/reduction-templates.h
  flang/test/Lower/Intrinsics/findloc.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138140.475845.patch
Type: text/x-patch
Size: 29125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221116/00ed1692/attachment-0001.bin>


More information about the flang-commits mailing list