[libc-commits] [PATCH] D81621: [libc] Remove dead code from memcpy to make it machine independent.

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jun 12 13:14:06 PDT 2020


gchatelet added a comment.

In D81621#2086447 <https://reviews.llvm.org/D81621#2086447>, @sivachandra wrote:

> I am trying to get the string functions work on aarch64. While `memset` and `bzero` work as is, `memcpy` does not because of the x86 specific arrangement we have currently. The x86 specific pieces are actually in dead code. So I went ahead and removed them in this patch. If required in future, we should add it back in a fashion which does not break the build for non-x86 architectures.


SGTM


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81621/new/

https://reviews.llvm.org/D81621





More information about the libc-commits mailing list