[PATCH] D33152: [PowerPC] Fix test case sem_init_glibc.cc for powerpc64be

Bill Seurer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 09:16:27 PDT 2017


seurer added inline comments.


================
Comment at: test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc:12
+// On powerpc64be semval_t must be 64 bits even with "old" versions of glibc.
+#if __PPC64__ && __BIG_ENDIAN__
+typedef uint64_t semval_t;
----------------
inouehrs wrote:
> Is there any difference between `__PPC64__` and `defined(__powerpc64__)` used below (and also in altivec.h etc)?
Both __PPC64__ and __powerpc64__ are listed in the power ISA document and are equivalent.


https://reviews.llvm.org/D33152





More information about the llvm-commits mailing list