[PATCH] D114134: [flang] Add co_sum to the list of intrinsics and update test

Jean Perier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 01:31:44 PDT 2022


jeanPerier added inline comments.


================
Comment at: flang/lib/Evaluate/intrinsics.cpp:1639
+  // added to the list of intrinsic subroutines
+  if (std::strcmp(name, "move_alloc") == 0 ||
+      std::strcmp(name, "co_sum") == 0) {
----------------
I think this custom check might better belong in ApplySpecificChecks that does custom checks that do not fit in the automated checks.


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

https://reviews.llvm.org/D114134



More information about the llvm-commits mailing list