diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2022-03-04 13:16:29 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-03-04 13:51:19 -0500 |
commit | f9c2d6005ef06a37a99e324e72ce247d0472cf4e (patch) | |
tree | b6ff6aafbce8e8c0041f741b2b535a4449ace43e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7405581f7ca3ba54be8a04c394a96fe6d980f073 (diff) | |
download | llvm-f9c2d6005ef06a37a99e324e72ce247d0472cf4e.zip llvm-f9c2d6005ef06a37a99e324e72ce247d0472cf4e.tar.gz llvm-f9c2d6005ef06a37a99e324e72ce247d0472cf4e.tar.bz2 |
[OpenMP][FIX] Ensure custom state machine works
The custom state machine had a check for surplus threads that filtered
the main thread if the kernel was executed by a single warp only. We
now first check for the main thread, then for surplus threads, avoiding
to filter the former out.
Fixes #54214.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D121011
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions