[PATCH] D32839: SimplifyLibCalls: Optimize wcslen
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 14:08:46 PDT 2017
MatzeB updated this revision to Diff 98206.
MatzeB marked 3 inline comments as done.
MatzeB added a comment.
- Check type in !Array zeroinitializer case. (Technically this shouldn't be necessary as it would be UB otherwise, but optimizing based on this will hardly buy us anything).
Repository:
rL LLVM
https://reviews.llvm.org/D32839
Files:
include/llvm/Analysis/TargetLibraryInfo.h
include/llvm/Analysis/ValueTracking.h
include/llvm/IR/Constants.h
include/llvm/Transforms/Utils/SimplifyLibCalls.h
lib/Analysis/TargetLibraryInfo.cpp
lib/Analysis/ValueTracking.cpp
lib/IR/Constants.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/wcslen-1.ll
test/Transforms/InstCombine/wcslen-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32839.98206.patch
Type: text/x-patch
Size: 27673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170508/addc477c/attachment.bin>
More information about the llvm-commits
mailing list