diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-10-16 14:20:36 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-10-27 18:18:39 -0500 |
commit | dc72960967d7a440d0dfd30bbc70e4131ca5e239 (patch) | |
tree | 5ed393fe6ebaca951108a4ecc1fd746079fd9e7c /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp | |
parent | b291597112f358d97068d960b690434b6e40a8c8 (diff) | |
download | llvm-dc72960967d7a440d0dfd30bbc70e4131ca5e239.zip llvm-dc72960967d7a440d0dfd30bbc70e4131ca5e239.tar.gz llvm-dc72960967d7a440d0dfd30bbc70e4131ca5e239.tar.bz2 |
[OpenMP][FIX] Do not dereference a potential nullptr
The first thread state in the new GPU runtime doesn't have a previous
one and we should not dereference the nullptr placeholder.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D111946
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
0 files changed, 0 insertions, 0 deletions