[all-commits] [llvm/llvm-project] af029d: [libc][reland] Fix builtin definition for memory f...
michaelrj-google via All-commits
all-commits at lists.llvm.org
Fri Nov 18 14:25:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af029d383a24ee454e1124f64f3427d5b79e5f7e
https://github.com/llvm/llvm-project/commit/af029d383a24ee454e1124f64f3427d5b79e5f7e
Author: Michael Jones <michaelrj at google.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
M libc/src/string/CMakeLists.txt
M libc/src/string/memory_utils/op_x86.h
Log Message:
-----------
[libc][reland] Fix builtin definition for memory functions
The memory functions are highly performance sensitive and use builtins
where possible, but also need to define those functions names when they
don't exist to avoid compilation errors. Previously all those
redefinitions were behind the SSE2 flag for x86, which caused errors on
CPUs that supported SSE2 but not AVX512. This patch splits the various
CPU extensions out to avoid errors on such CPUs.
Reviewed By: gchatelet
Differential Revision: https://reviews.llvm.org/D138163
More information about the All-commits
mailing list