[all-commits] [llvm/llvm-project] 52e7b6: fixup! [builtins] Refactor cpu_model support to re...
Jon Roelofs via All-commits
all-commits at lists.llvm.org
Tue Dec 19 13:20:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52e7b6f5c52016708843a0881871958c7eb0c3d4
https://github.com/llvm/llvm-project/commit/52e7b6f5c52016708843a0881871958c7eb0c3d4
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/aarch64.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
A compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
Log Message:
-----------
fixup! [builtins] Refactor cpu_model support to reduce #if nesting. NFCI
https://github.com/llvm/llvm-project/pull/75635#issuecomment-1863433937
```
/b/s/w/ir/x/w/llvm_build/./bin/clang --target=aarch64-unknown-linux-gnu --sysroot=/b/s/w/ir/x/w/cipd/linux -DHAS_ASM_LSE -DVISIBILITY_HIDDEN --target=aarch64-unknown-linux-gnu -O2 -g -DNDEBUG -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-aarch64.dir/cpu_model/aarch64.c.o -MF CMakeFiles/clang_rt.builtins-aarch64.dir/cpu_model/aarch64.c.o.d -o CMakeFiles/clang_rt.builtins-aarch64.dir/cpu_model/aarch64.c.o -c /b/s/w/ir/x/w/llvm-llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64.c
In file included from /b/s/w/ir/x/w/llvm-llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64.c:43:
/b/s/w/ir/x/w/llvm-llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/sysauxv.inc:5:41: error: use of undeclared identifier 'HWCAP_ATOMICS'
5 | __aarch64_have_lse_atomics = (hwcap & HWCAP_ATOMICS) != 0;
| ^
1 error generated.
```
More information about the All-commits
mailing list