[test-suite] r259184 - [test-suite] Detect SystemZ host architecture

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 02:46:28 PST 2016


Author: uweigand
Date: Fri Jan 29 04:46:28 2016
New Revision: 259184

URL: http://llvm.org/viewvc/llvm-project?rev=259184&view=rev
Log:
[test-suite] Detect SystemZ host architecture

Add SystemZ case to cmake/modules/DetectArchitecture.c logic.


Modified:
    test-suite/trunk/cmake/modules/DetectArchitecture.c

Modified: test-suite/trunk/cmake/modules/DetectArchitecture.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/cmake/modules/DetectArchitecture.c?rev=259184&r1=259183&r2=259184&view=diff
==============================================================================
--- test-suite/trunk/cmake/modules/DetectArchitecture.c (original)
+++ test-suite/trunk/cmake/modules/DetectArchitecture.c Fri Jan 29 04:46:28 2016
@@ -8,6 +8,8 @@ const char *str = "ARCHITECTURE IS Alpha
 const char *str = "ARCHITECTURE IS Mips";
 #elif defined(__powerpc__) || defined(__ppc__) || defined(__power__)
 const char *str = "ARCHITECTURE IS PowerPC";
+#elif defined(__s390__)
+const char *str = "ARCHITECTURE IS SystemZ";
 #elif defined(__sparc__)
 const char *str = "ARCHITECTURE IS Sparc";
 #elif defined(__xcore__)




More information about the llvm-commits mailing list