[Openmp-commits] [PATCH] D101977: [OpenMP] Create custom state machines for generic target regions

Giorgis Georgakoudis via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 17 16:04:48 PDT 2021


ggeorgakoudis added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:494
+      return false;
+    return ParallelRegions.size() == RHS.ParallelRegions.size();
+  }
----------------
Is equality comparison enough for ParallelRegions or should we change ParallelRegions refer to same function? I guess size equality should be enough since we only add ParallelRegions, but still checking.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101977



More information about the Openmp-commits mailing list