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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a reland of https://reviews.llvm.org/D137868 which was reverted for causing macro redefinition errors. This version prevents that issue, although it still has warnings about unused parameters and unused type aliases due to the empty macros making their functions no-ops.