aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ExpandVectorPredication.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-10-02 09:45:08 -0700
committerJohannes Doerfert <johannes@jdoerfert.de>2022-10-04 20:27:34 -0700
commitf8ee045c6d934f64bcdab6c9fb4fc5c36c33938f (patch)
treeb4ee4358a344f10f539a58ae2a1faa80fba30985 /llvm/lib/CodeGen/ExpandVectorPredication.cpp
parentb113965073596347fa4eb6819e0ddf624b03a808 (diff)
downloadllvm-f8ee045c6d934f64bcdab6c9fb4fc5c36c33938f.zip
llvm-f8ee045c6d934f64bcdab6c9fb4fc5c36c33938f.tar.gz
llvm-f8ee045c6d934f64bcdab6c9fb4fc5c36c33938f.tar.bz2
[OpenMP] Eliminate the ThreadStates array in favor of indirection
If we have thread states, the program is going to be rather slow. If we don't, we want to avoid wasting shared memory. This patch introduces a slight penalty (malloc + indirection) for the slow path and reduces resource usage for the fast path. Differential Revision: https://reviews.llvm.org/D135037
Diffstat (limited to 'llvm/lib/CodeGen/ExpandVectorPredication.cpp')
0 files changed, 0 insertions, 0 deletions