HomePhabricator

[libc] Extract an architecture independent copy of memcpy implementation.

Authored by sivachandra on Jun 10 2020, 2:41 PM.

Description

[libc] Extract an architecture independent copy of memcpy implementation.

Along that way, platform specific options to memcpy, memset and bzero
builds have been enclosed in conditionals. Also, the optimization level
has been set to -O2 for the memory function builds to actually see the
static functions inlined.

Reviewers: gchatelet

Differential Revision: https://reviews.llvm.org/D81621