[PATCH] D155958: [NFC][ValueTracking]: Remove redundant computeKnownBits call for LoadInst in isKnownNonZero
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 07:58:37 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2549
if (Q.IIQ.getMetadata(LI, LLVMContext::MD_nonnull))
return true;
----------------
It would be good to move this check into the load switch case.
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