[LLVMdev] Which pass converts call printf to puts?

Thomson lilotom at gmail.com
Sun Jun 17 08:58:05 PDT 2012


I found that LLVM optimized the IR by replacing printf with puts. I
wondered  which pass did this optimization? And is it common that puts is
faster (and some other metric) than printf?
-- 
Thanks
Thomson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120617/08aa6c45/attachment.html>


More information about the llvm-dev mailing list