1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-21 18:22:53 +01:00

[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 f5788bb9c7
commit d31e29ae39

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