[PATCH] D123497: [ValueTracking] Make getStringLenth aware of strdup
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 04:49:02 PDT 2022
serge-sans-paille created this revision.
serge-sans-paille added a reviewer: nikic.
Herald added a subscriber: hiraditya.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
During strlen compile-time evaluation, make it possible to track size of
strduped strings.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123497
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/MemoryBuiltins.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/strlen-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123497.421876.patch
Type: text/x-patch
Size: 11258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220411/212d15b1/attachment.bin>
More information about the llvm-commits
mailing list