[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
This commit is contained in:
Steven Wu 2021-07-14 15:23:37 -07:00
parent 0c7a4870c5
commit 483df57313
1 changed files with 1 additions and 1 deletions

View File

@ -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()));
}