[PATCH] D32839: SimplifyLibCalls: Optimize wcslen
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 13:45:43 PDT 2017
MatzeB updated this revision to Diff 97871.
MatzeB added a comment.
- Determine `wchar_t` size based on the wcslen declaration
- Improve/fix tests
Repository:
rL LLVM
https://reviews.llvm.org/D32839
Files:
include/llvm/Analysis/ValueTracking.h
include/llvm/IR/Constants.h
include/llvm/Transforms/Utils/SimplifyLibCalls.h
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.97871.patch
Type: text/x-patch
Size: 24206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170504/3dc726ee/attachment.bin>
More information about the llvm-commits
mailing list