[clang] [llvm] [AIX] support builtin_cpu_is() for aix (PR #80069)
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 11:28:59 PST 2024
================
@@ -362,8 +362,18 @@ class LLVM_LIBRARY_VISIBILITY PPCTargetInfo : public TargetInfo {
// We support __builtin_cpu_supports/__builtin_cpu_is on targets that
// have Glibc since it is Glibc that provides the HWCAP[2] in the auxv.
+#define MINIMUM_AIX_OS_MAJOR 7
----------------
nemanjai wrote:
We can probably just make these `constexpr int` variables rather than #defining them.
https://github.com/llvm/llvm-project/pull/80069
More information about the llvm-commits
mailing list