Skip to content

Commit 2466031

Browse files
[Support] Turn on SupportTest for Apple Silicon
Follow up for D106012, turn on unittest for Host on Apple Silicon. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D106020
1 parent e1a68e2 commit 2466031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/Support/Host.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class HostTest : public testing::Test {
3939
// physical cores, which is currently only supported/tested on
4040
// some systems.
4141
return (Host.isOSWindows() && llvm_is_multithreaded()) ||
42-
(Host.isX86() && (Host.isOSDarwin() || Host.isOSLinux())) ||
42+
Host.isOSDarwin() || (Host.isX86() && Host.isOSLinux()) ||
4343
(Host.isPPC64() && Host.isOSLinux()) ||
4444
(Host.isSystemZ() && (Host.isOSLinux() || Host.isOSzOS()));
4545
}

0 commit comments

Comments
 (0)