[clang] [llvm] Implement a subset of builtin_cpu_supports() features (PR #82809)
Amy Kwan via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 20:27:27 PST 2024
================
@@ -364,7 +364,14 @@ class LLVM_LIBRARY_VISIBILITY PPCTargetInfo : public TargetInfo {
// have Glibc since it is Glibc that provides the HWCAP[2] in the auxv.
static constexpr int MINIMUM_AIX_OS_MAJOR = 7;
static constexpr int MINIMUM_AIX_OS_MINOR = 2;
- bool supportsCpuSupports() const override { return getTriple().isOSGlibc(); }
+ bool supportsCpuSupports() const override {
----------------
amy-kwan wrote:
This sounds reasonable to me, thanks!
https://github.com/llvm/llvm-project/pull/82809
More information about the cfe-commits
mailing list