[LLVMdev] Disable memset synthesization

Bin Tzeng bintzeng at gmail.com
Tue Jul 30 10:55:38 PDT 2013

Hi all,

LLVM is smart that it can synthesize llvm.memset, llvm.memcpy etc. from
loops, which can be lowered into calls to memset, memcpy and so on. Is
there an option that can disable this optimization? For some cases, I do
not want the code to depend on libc.

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130730/ecdb07f5/attachment.html>

More information about the llvm-dev mailing list