[PATCH] D47159: [InstCombine] Format String optimizations
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 14:58:58 PDT 2018
xbolva00 updated this revision to Diff 147884.
xbolva00 added a comment.
Fixed case like printf("%s%d", "", 1) in constant propagation to format string.
https://reviews.llvm.org/D47159
Files:
include/llvm/Transforms/Utils/BuildLibCalls.h
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/CodeGen/X86/no-plt-libcalls.ll
test/Transforms/InstCombine/format-str.ll
test/Transforms/InstCombine/printf-1.ll
test/Transforms/InstCombine/printf-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47159.147884.patch
Type: text/x-patch
Size: 23649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180521/1aca09d7/attachment.bin>
More information about the llvm-commits
mailing list