search for: knownzero2

Displaying 1 result from an estimated 1 matches for "knownzero2".

Did you mean: knownzero
2008 Jul 17
2
[LLVMdev] ComputeMaskedBits Bug
...r of zero bits. So ComputeMaskedBits says we know the output has the lower six bits set to zero, which is correct. The PHI code for ComputeMaskedBits then does this: KnownZero = Mask & APInt::getLowBitsSet(BitWidth, KnownZero2.countTrailingOnes()); KnownZero2 is the output of the second call to ComputeMaskedBits (the Shl by six in this case). Mask is the original mask coming into ComputeMaskedBits with the PHI, which is all ones in this case.l So the PHI ends up producing 0x3f as KnownZero. I think this is wrong....