[compiler-rt] df2bdb7 - Revert "[AArch64][compiler-rt] Fix HWCAP_CPUID not defined in some cases."
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 17:17:26 PST 2022
Author: Mitch Phillips
Date: 2022-12-20T17:15:38-08:00
New Revision: df2bdb7043dfefc541b6006f27efe5c3c47a5d11
URL: https://github.com/llvm/llvm-project/commit/df2bdb7043dfefc541b6006f27efe5c3c47a5d11
DIFF: https://github.com/llvm/llvm-project/commit/df2bdb7043dfefc541b6006f27efe5c3c47a5d11.diff
LOG: Revert "[AArch64][compiler-rt] Fix HWCAP_CPUID not defined in some cases."
This reverts commit a43f36142c501e2d3f4797ef938db4e0c5e0eeec.
Reason: Depends on reverted change https://reviews.llvm.org/D127812
Added:
Modified:
compiler-rt/lib/builtins/cpu_model.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/builtins/cpu_model.c b/compiler-rt/lib/builtins/cpu_model.c
index ce5f7291035f2..e377d6458a0f7 100644
--- a/compiler-rt/lib/builtins/cpu_model.c
+++ b/compiler-rt/lib/builtins/cpu_model.c
@@ -921,9 +921,6 @@ _Bool __aarch64_have_lse_atomics
#define AT_HWCAP 16
#endif
-#ifndef HWCAP_CPUID
-#define HWCAP_CPUID (1 << 11)
-#endif
#ifndef HWCAP_FP
#define HWCAP_FP (1 << 0)
#endif
More information about the llvm-commits
mailing list