forked from OSchip/llvm-project
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:
parent
c10e63677f
commit
6cf4f25670
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue