[PATCH] D64150: [ValueTracking] Add MustPreserveNullness arg to functions analyzing calls. (NFC)
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 11:02:45 PDT 2019
fhahn created this revision.
fhahn added reviewers: nlopes, efriedma, hfinkel, sanjoy, aqjune, jdoerfert.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Some uses of getArgumentAliasingToReturnedPointer and
isIntrinsicReturningPointerAliasingArgumentWithoutCapturing require the
calls/intrinsics to preserve the nullness of the argument.
For alias analysis, the nullness property does not really come into
play.
This patch explicitly sets it to true. In D61669 <https://reviews.llvm.org/D61669>, the alias analysis
uses will be switched to not require preserving nullness.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64150
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/lib/Analysis/CaptureTracking.cpp
llvm/lib/Analysis/Loads.cpp
llvm/lib/Analysis/ValueTracking.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64150.207845.patch
Type: text/x-patch
Size: 6252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190703/081eeb9a/attachment.bin>
More information about the llvm-commits
mailing list