[PATCH] D57620: Optimize printf calls that don't use 128-bit floating-point values

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 17:34:22 PST 2019


sunfish updated this revision to Diff 185203.
sunfish marked 2 inline comments as done.
sunfish added a comment.

- Rename printf_no_Lf to __small_printf.
- Add more tests.
- Split out enabling the iprintf optimization for WASI, to be submitted in a separate patch later.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57620/new/

https://reviews.llvm.org/D57620

Files:
  include/llvm/Analysis/TargetLibraryInfo.def
  lib/Analysis/TargetLibraryInfo.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/fprintf-1.ll
  test/Transforms/InstCombine/printf-1.ll
  test/Transforms/InstCombine/sprintf-1.ll
  unittests/Analysis/TargetLibraryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57620.185203.patch
Type: text/x-patch
Size: 12497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/06ce20ef/attachment.bin>


More information about the llvm-commits mailing list