[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
Loading
Please sign in to comment