[PATCH] D157253: [ValueTracking] Dereferenceable and !NullPointerIsDefined imply non-zero
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 23:25:21 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2690
+ if (Q.IIQ.getMetadata(LI, LLVMContext::MD_nonnull))
return true;
----------------
Move this behind the PointerType check as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157253/new/
https://reviews.llvm.org/D157253
More information about the llvm-commits
mailing list