[PATCH] D114413: [OpenMPIRBuilder] Implement static-chunked workshare-loop schedules.

Peixin Qiao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 19:39:18 PST 2022


peixin added inline comments.
Herald added a project: All.


================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h:1505
+  /// valid in the condition block (i.e., defined in the preheader) and is
+  /// interpreted as an unsigned integer.
+  void setTripCount(Value *TripCount);
----------------
Meinersbur wrote:
> peixin wrote:
> > Nit: integer -> 64-bit integer?
> not necessarily, we do not require a specific integer size. For instance, `__kmpc_for_static_init_4u` takes a 32-bit integer. It is up to the applyXYZ function to zext/trunc it when necessary.
Got it. Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114413



More information about the llvm-commits mailing list