[compiler-rt] [compiler-rt][AArch64] Provide basic implementations of SME memcpy/memmove in case of strictly aligned memory access (PR #138250)

Victor Campos via llvm-commits llvm-commits at lists.llvm.org
Fri May 9 02:19:55 PDT 2025


================
@@ -22,3 +23,46 @@ const void *__arm_sc_memchr(const void *src, int c,
 
   return NULL;
 }
+
+#ifndef __ARM_FEATURE_UNALIGNED
+
+static void *memcpy_fwd(void *dest, const void *src,
----------------
vhscampos wrote:

These internal functions are now marked as `static` to avoid clashes. But for clarity I could still add a prefix. Please let me know what you think.

https://github.com/llvm/llvm-project/pull/138250


More information about the llvm-commits mailing list