[libc-commits] [PATCH] D112818: [libc] Add more robust compile time architecture detection
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Oct 29 09:47:57 PDT 2021
michaelrj added inline comments.
================
Comment at: libc/src/__support/architectures.h:37-51
+#if defined(__mips64)
+#define LLVM_LIBC_ARCH_MIPS64
+#endif
+
+#if defined(__mips__) && !defined(__mips64) // mips64 also declares __mips__
+#define LLVM_LIBC_ARCH_MIPS32
+#endif
----------------
I don't think we actually support these architectures yet, do we need macros for them?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112818/new/
https://reviews.llvm.org/D112818
More information about the libc-commits
mailing list