Ellis Hoag c1d935ece3 [InstrProf] Fix BalancedPartitioning when threads are disabled
In https://reviews.llvm.org/D147812 we introduced the class
`BalancedPartitioning` which includes some threading code. The tests in
that diff run forever when built with `-DLLVM_ENABLE_THREADS=OFF` so
some bots were broken.

These tests were skipped in
https://reviews.llvm.org/rGa4845eaf2e9aa18dd900d7cbeff4e5ff52e4b50e
because of this.

This diff disables the threading code if `LLVM_ENABLE_THREADS` is
disabled so we can re-enable the tests.

Reviewed By: luporl

Differential Revision: https://reviews.llvm.org/D152390
2023-06-07 12:04:35 -07:00
..
2022-02-06 22:18:35 -08:00
2023-03-15 08:46:32 -07:00
2022-02-06 22:18:35 -08:00
2023-05-30 14:12:20 -07:00
2023-03-27 10:20:08 +01:00
2022-03-11 11:41:32 +01:00
2022-03-11 11:41:32 +01:00
2022-11-21 18:28:07 +00:00
2023-02-23 18:11:15 +00:00
2022-09-22 05:03:01 +02:00