[PATCH] D54956: [ValueTracking] Look through casts when determining non-nullness
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 27 13:42:12 PST 2018
jdoerfert updated this revision to Diff 175572.
jdoerfert marked 3 inline comments as done.
jdoerfert added a comment.
Ensure no-op or extension casts and add appropriate tests. Also fix an error in LazyValueInfo which looked through AddrSpaceCast to determine non-nullness.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54956/new/
https://reviews.llvm.org/D54956
Files:
lib/Analysis/LazyValueInfo.cpp
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/alloca-cast-debuginfo.ll
test/Transforms/InstCombine/callsite_nonnull_args_through_casts.ll
test/Transforms/InstCombine/memcpy-from-global.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/InstCombine/select.ll
test/Transforms/LoopVectorize/X86/gather_scatter.ll
test/Transforms/LoopVectorize/X86/masked_load_store.ll
test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54956.175572.patch
Type: text/x-patch
Size: 60786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181127/631518ec/attachment.bin>
More information about the llvm-commits
mailing list