commit | 9e390c7bb7461dad11c5103489f7d03529b165f5 | [log] [tgz] |
---|---|---|
author | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | Mon Feb 01 14:08:51 2021 -0600 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 05:45:15 2021 -0700 |
tree | c999d51197a326995a421eea02cca22f2397ee79 | |
parent | acdce618793c28092bd1727314c9f88f49e4a038 [diff] |
[OpenMP] Fix potential integer overflow in dynamic schedule code Restrict the chunk_size * chunk_num to only occur for valid chunk_nums and reimplement calculating the limit to avoid overflow. Differential Revision: https://reviews.llvm.org/D96747 GitOrigin-RevId: e2738b3758a9d5a6dfdc5a6768046b44a1b9f135