[ValueTracking] Assert known bits sanity in isKnownNonZero
authorPhilip Reames <preames@rivosinc.com>
Sun, 30 Oct 2022 17:52:27 +0000 (10:52 -0700)
committerPhilip Reames <listmail@philipreames.com>
Sun, 30 Oct 2022 17:53:52 +0000 (10:53 -0700)
commit35a1161c241f39e82de1bc23d43c5faffd9f24b4
treeb8ed4da5b2f27c3d56b5a6732363880643d73656
parent44930123e01aef3986f5a9932d6def889b60d7b5
[ValueTracking] Assert known bits sanity in isKnownNonZero

These are the same asserts we have in other query routines; cover this interface too.
llvm/lib/Analysis/ValueTracking.cpp