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

Valentin Clement via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Nov 17 00:14:47 PST 2022


clementval added inline comments.


================
Comment at: flang/runtime/reduction-templates.h:60
         if (IsLogicalElementTrue(*mask, maskAt)) {
-          accumulator.template AccumulateAt<TYPE>(xAt);
+          if (!accumulator.template AccumulateAt<TYPE>(xAt))
+            break;
----------------
Is this change needed for findloc?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138140/new/

https://reviews.llvm.org/D138140



More information about the flang-commits mailing list