[compiler-rt] [AArch64][compiler-rt] Add memcpy, memset, memmove, memchr simple imp… (PR #77496)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 06:20:36 PST 2024
================
@@ -0,0 +1,98 @@
+#include <stdlib.h>
+
+// WARNING: When building the scalar versions of these functions you need to
+// use the compiler flag "-mllvm -disable-loop-idiom-all" to prevent clang
+// from recognising a loop idiom and planting calls to memcpy!
----------------
sdesmalen-arm wrote:
There is a comment here that seems important, but doesn't seem to be addressed by your patch?
https://github.com/llvm/llvm-project/pull/77496
More information about the llvm-commits
mailing list