[PATCH] D155958: [NFC][ValueTracking]: Remove redundant computeKnownBits call for LoadInst in isKnownNonZero
Dhruv Chawla via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 22 08:01:43 PDT 2023
0xdc03 added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2512
if (auto *I = dyn_cast<Instruction>(V)) {
if (MDNode *Ranges = Q.IIQ.getMetadata(I, LLVMContext::MD_range)) {
// If the possible ranges don't contain zero, then the value is
----------------
@goldstein.w.n I was referring to this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155958/new/
https://reviews.llvm.org/D155958
More information about the llvm-commits
mailing list