diff options
Diffstat (limited to 'llvm/unittests/Support/Threading.cpp')
-rw-r--r-- | llvm/unittests/Support/Threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Threading.cpp b/llvm/unittests/Support/Threading.cpp index 30a3c741b35..be53026415d 100644 --- a/llvm/unittests/Support/Threading.cpp +++ b/llvm/unittests/Support/Threading.cpp @@ -16,7 +16,7 @@ using namespace llvm; namespace { TEST(Threading, PhysicalConcurrency) { - auto Num = hardware_physical_concurrency(); + auto Num = heavyweight_hardware_concurrency(); // Since Num is unsigned this will also catch us trying to // return -1. ASSERT_LE(Num, thread::hardware_concurrency()); |