[PATCH] D106020: [Support] Turn on SupportTest for Apple Silicon
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 14:24:14 PDT 2021
steven_wu created this revision.
steven_wu added reviewers: arphaman, dexonsmith.
Herald added a subscriber: ributzka.
steven_wu requested review of this revision.
Herald added a project: LLVM.
Follow up for the fix for Apple Silicon, turn on unittest for Host on
Apple Silicon.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106020
Files:
llvm/unittests/Support/Host.cpp
Index: llvm/unittests/Support/Host.cpp
===================================================================
--- llvm/unittests/Support/Host.cpp
+++ llvm/unittests/Support/Host.cpp
@@ -39,7 +39,7 @@
// 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()));
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106020.358753.patch
Type: text/x-patch
Size: 623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/16128df7/attachment.bin>
More information about the llvm-commits
mailing list