[libc-commits] [PATCH] D137868: [libc] Fix builtin definition for memory functions
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Nov 14 15:30:58 PST 2022
lntue added inline comments.
================
Comment at: libc/src/string/memory_utils/op_x86.h:29
+// functions in case the builtin is not present.
+#ifndef _mm512_cmpneq_epi8_mask
#define _mm512_cmpneq_epi8_mask(A, B) 0
----------------
How will this work if `_mm512_cmpneq_epi8_mask` is defined as a function or compiler builtin instead of macro? Will `defined(_mm512_cmpneq_epi8_mask)` also return false, and the macro will overwrite the real function calls?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137868/new/
https://reviews.llvm.org/D137868
More information about the libc-commits
mailing list