summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-17 15:26:44 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-17 15:26:44 +0000
commit0924094e347ed2bf3c6824f27931ec3571089e7b (patch)
treef40fcdb3b62a3a8c5a0946618974443b9f20d5c7 /llvm/lib/Bitcode
parent682a6547582c70702e698d6263bbf78592d66084 (diff)
downloadbcm5719-llvm-0924094e347ed2bf3c6824f27931ec3571089e7b.tar.gz
bcm5719-llvm-0924094e347ed2bf3c6824f27931ec3571089e7b.zip
[OMPT] Fix inaccuracies in worksharing tests
These tests were failing rarely on my MacBook when there was some activity in the background. Read: one of a thousand executions? * sections.c missed the sorting based on thread ids. This worked as long as the master thread finished its section before the worker thread started the second one but failed if the master thread was put to sleep by the OS. * The checks in single.c assumed that the master thread executes the single region which works most of the time because it is usually faster than the newly spawned worker thread. Differential Revision: https://reviews.llvm.org/D39853 llvm-svn: 318527
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud