summaryrefslogblamecommitdiff
path: root/user/llvm14/ppc-test.patch
blob: 46ed8fbf0c6663c6dbedcf553d401923fd7804a5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                           
The ifdef tree uses __powerpc__ so 32-bit PPC is supported as well.

--- llvm-14.0.6.src/unittests/Support/Host.cpp.old	2022-06-22 16:46:24.000000000 +0000
+++ llvm-14.0.6.src/unittests/Support/Host.cpp	2022-11-28 02:15:41.512865406 +0000
@@ -40,7 +40,7 @@
     // some systems.
     return (Host.isOSWindows() && llvm_is_multithreaded()) ||
            Host.isOSDarwin() || (Host.isX86() && Host.isOSLinux()) ||
-           (Host.isPPC64() && Host.isOSLinux()) ||
+           (Host.isPPC() && Host.isOSLinux()) ||
            (Host.isSystemZ() && (Host.isOSLinux() || Host.isOSzOS()));
   }