[LLVMdev] Disable memset synthesization
bintzeng at gmail.com
Tue Jul 30 11:19:38 PDT 2013
Thanks! That works.
On Tue, Jul 30, 2013 at 11:01 AM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
> On 7/30/2013 12:55 PM, Bin Tzeng wrote:
>> 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.
> You can use -fno-builtin, if that suits your needs.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by The Linux Foundation
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev