aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-10-08 21:52:54 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-10-08 22:00:41 -0400
commit85ad56633593d011ab00f4eb431ffd879677bffc (patch)
treea80800a80316d99c6a90ebcecb06491f1cdcb015 /llvm/lib/Support/APFloat.cpp
parent222305d6ff6f6d156145d7de4f06d1c368383e41 (diff)
downloadllvm-85ad56633593d011ab00f4eb431ffd879677bffc.zip
llvm-85ad56633593d011ab00f4eb431ffd879677bffc.tar.gz
llvm-85ad56633593d011ab00f4eb431ffd879677bffc.tar.bz2
[OpenMP] Avoid calling `isSPMDMode` during RT initialization
Until we hit the first barrier we should not call `mapping::isSPMDMode` with all threads. Instead, we now have (and use during initialization) a `mapping::isMainThreadInGenericMode` overload that takes the known SPMD-mode state and one that queries it. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D111381
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions