Revert "[ValueTracking] Apply the isKnownNonZero techniques in `ashr`/`lshl` to ...
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 18 Apr 2023 06:23:08 +0000 (01:23 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 18 Apr 2023 06:23:08 +0000 (01:23 -0500)
commit3c4d9cc27316669ea803ff468f9f9ae88f181782
tree6624739449d33d11e847a5fee2c5a69d5ef1018f
parent7cdea872d42a9b195fbd7e66fb94ec29085de24a
Revert "[ValueTracking] Apply the isKnownNonZero techniques in `ashr`/`lshl` to `shl` and vice-versa"

May be related to PR62175

This reverts commit 57590d1dd47bbe9aa4b79a0f93cc3ec62cc5d060.
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/known-non-zero.ll
llvm/test/Transforms/InstCombine/ctpop-pow2.ll