From d31e29ae39d5f51e62bd3e8a6652cf2ceb5f219f Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Wed, 14 Jul 2021 15:23:37 -0700 Subject: [PATCH] [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 --- unittests/Support/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Support/Host.cpp b/unittests/Support/Host.cpp index fd025d670b4..a7d39bee8b3 100644 --- a/unittests/Support/Host.cpp +++ b/unittests/Support/Host.cpp @@ -39,7 +39,7 @@ protected: // physical cores, which is currently only supported/tested on // some systems. return (Host.isOSWindows() && llvm_is_multithreaded()) || - (Host.isX86() && (Host.isOSDarwin() || Host.isOSLinux())) || + Host.isOSDarwin() || (Host.isX86() && Host.isOSLinux()) || (Host.isPPC64() && Host.isOSLinux()) || (Host.isSystemZ() && (Host.isOSLinux() || Host.isOSzOS())); }