[Openmp-commits] [PATCH] D96747: [OpenMP] Fix potential integer overflow in dynamic schedule code

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 15 21:45:02 PST 2021

jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Restrict the `chunk_size * chunk_num` to only occur for valid `chunk_nums` and reimplement calculating the limit to avoid overflow.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96747.323881.patch
Type: text/x-patch
Size: 5153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210216/c9a0a74e/attachment.bin>

More information about the Openmp-commits mailing list