[InstCombine] use isKnownNonNegative() for readability; NFCI
authorSanjay Patel <spatel@rotateright.com>
Fri, 14 Oct 2022 14:47:16 +0000 (10:47 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 16 Oct 2022 14:59:56 +0000 (10:59 -0400)
commit340ae45be06ae663e73edbee3f942f5dcd13c58e
treede4bbab69ee6d6b30c4effe92995cd8df9ce8646
parent067b744dbb023865add3ffaf2e94bc59d3cd078a
[InstCombine] use isKnownNonNegative() for readability; NFCI

This should be functionally equivalent - both calls are thin
wrappers around computeKnownBits(). We'll probably want to use
known-bits directly in follow-up patches because that could
determine "exact" for example (see issue #58348).
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp