[PATCH] D46648: [SimplifyLibcalls] Optimize string concats using s(n)printf

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 13:35:45 PDT 2018


efriedma added a comment.

If your results appear to be "correct", you're just getting lucky that your particular combination of compiler and C library don't do something else.

We should probably just add clang -Wformat warning, rather than try to optimize it in SimplifyLibCalls.


Repository:
  rL LLVM

https://reviews.llvm.org/D46648





More information about the llvm-commits mailing list