[all-commits] [llvm/llvm-project] 0aea17: [libc] Add more robust compile time architecture d...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Tue Nov 2 04:01:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0aea170b97f6523b94409f3facfa4549cbfbe6b0
https://github.com/llvm/llvm-project/commit/0aea170b97f6523b94409f3facfa4549cbfbe6b0
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M libc/src/__support/CMakeLists.txt
M libc/src/__support/FPUtil/FEnvUtils.h
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/PlatformDefs.h
M libc/src/__support/FPUtil/PolyEval.h
A libc/src/__support/architectures.h
M libc/src/string/memcmp.cpp
M libc/src/string/memory_utils/elements_aarch64.h
M libc/src/string/memory_utils/elements_x86.h
M libc/src/string/memory_utils/memset_utils.h
M libc/src/string/memory_utils/utils.h
M libc/test/src/fenv/enabled_exceptions_test.cpp
M libc/test/src/fenv/feenableexcept_test.cpp
M libc/test/src/fenv/feholdexcept_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc] Add more robust compile time architecture detection
We may want to restrict the detected platforms to only `x86_64` and `aarch64`.
There are still custom detection in api.td but I don't think we can handle these:
- config/linux/api.td:205
- config/linux/api.td:199
Differential Revision: https://reviews.llvm.org/D112818
More information about the All-commits
mailing list