[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 15:25:12 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG483df573135f: [Support] Turn on SupportTest for Apple Silicon (authored by steven_wu).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106020/new/

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.358768.patch
Type: text/x-patch
Size: 623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/a764f721/attachment.bin>


More information about the llvm-commits mailing list