mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 06:27:16 +00:00
Temporarily reverting r55137. This was causing the bootstrap to go into an
infinite loop. llvm-svn: 55149
This commit is contained in:
parent
0b0215d531
commit
7840023704
@ -509,13 +509,9 @@ void llvm::ComputeMaskedBits(Value *V, const APInt &Mask,
|
||||
ComputeMaskedBits(R, Mask2, KnownZero2, KnownOne2, TD, Depth+1);
|
||||
Mask2 = APInt::getLowBitsSet(BitWidth,
|
||||
KnownZero2.countTrailingOnes());
|
||||
|
||||
// We need to take the minimum number of known bits
|
||||
APInt KnownZero3(KnownZero), KnownOne3(KnownOne);
|
||||
KnownOne3.clear();
|
||||
KnownZero3.clear();
|
||||
ComputeMaskedBits(L, Mask2, KnownZero3, KnownOne3, TD, Depth+1);
|
||||
|
||||
KnownOne2.clear();
|
||||
KnownZero2.clear();
|
||||
ComputeMaskedBits(L, Mask2, KnownZero2, KnownOne2, TD, Depth+1);
|
||||
KnownZero = Mask &
|
||||
APInt::getLowBitsSet(BitWidth,
|
||||
KnownZero2.countTrailingOnes());
|
||||
|
Loading…
Reference in New Issue
Block a user