[llvm-dev] How to remove memcpy

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Sat Oct 15 16:04:42 PDT 2016


On Sat, Oct 15, 2016 at 05:56:02PM -0500, Wolfgang McSneed via llvm-dev wrote:
> I am hoping that someone can help me figure out how to prevent the
> insertion of "memcpy" from the assembly source.

Unless your backend explicitly always inlines memcpy, this is expected.
In a lot of situation, creating a libcall for non-trivial sizes is far
preferable than an inlined loop.

Joerg


More information about the llvm-dev mailing list