[PATCH] D151816: [ValueTracking] Directly use KnownBits shift functions
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 10:54:16 PDT 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:994
+ Known.isNonZero() ||
+ (Known.getMaxValue().ult(Known.getBitWidth()) &&
+ isKnownNonZero(I->getOperand(1), DemandedElts, Depth + 1, Q));
----------------
what is the `Known.getMaxValue().ult(Known.getBitWidth())` is doing here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151816/new/
https://reviews.llvm.org/D151816
More information about the llvm-commits
mailing list