Revert "GlobalISel: Use & operator on KnownBits"

This reverts commit e53b799779.

Confusingly, this does not simply and the two sets of known bits, but
implements known bits for the and operator.
This commit is contained in:
Matt Arsenault 2020-08-27 18:41:02 -04:00
parent c10e63677f
commit 6cf4f25670
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ void GISelKnownBits::computeKnownBitsMin(Register Src0, Register Src1,
computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth);
// Only known if known in both the LHS and RHS.
Known &= Known2;
Known.Zero &= Known.Zero;
Known.One &= Known.One;
}
void GISelKnownBits::computeKnownBitsImpl(Register R, KnownBits &Known,