aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeyton, Jonathan L <jonathan.l.peyton@intel.com>2021-01-29 14:02:38 -0600
committerPeyton, Jonathan L <jonathan.l.peyton@intel.com>2021-02-22 13:22:01 -0600
commit56223b1e91ed444a054aa9bd20878d0b62c7b53b (patch)
treeb80a531aa7a270af23763e8be03facd5fffb5b5d /clang/lib/Frontend/CompilerInvocation.cpp
parent817d343fb048b330b77a7b4ef0af0dba7450dfb2 (diff)
downloadllvm-56223b1e91ed444a054aa9bd20878d0b62c7b53b.zip
llvm-56223b1e91ed444a054aa9bd20878d0b62c7b53b.tar.gz
llvm-56223b1e91ed444a054aa9bd20878d0b62c7b53b.tar.bz2
[OpenMP] Help static loop code avoid over/underflow
This code alleviates some pathological loop parameters (lower, upper, stride) within calculations involved in the static loop code. It bounds the chunk size to the trip count if it is greater than the trip count and also minimizes problematic code for when trip count < nth. Differential Revision: https://reviews.llvm.org/D96426
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions