mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Rename ComputeMaskedBits to computeKnownBits. "Masked" has been
inappropriate since it lost its Mask parameter in r154011. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208811 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -513,7 +513,7 @@ static bool isZero(Value *V, const DataLayout *DL) {
|
||||
if (!VecTy) {
|
||||
unsigned BitWidth = V->getType()->getIntegerBitWidth();
|
||||
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
|
||||
ComputeMaskedBits(V, KnownZero, KnownOne, DL);
|
||||
computeKnownBits(V, KnownZero, KnownOne, DL);
|
||||
return KnownZero.isAllOnesValue();
|
||||
}
|
||||
|
||||
@ -534,7 +534,7 @@ static bool isZero(Value *V, const DataLayout *DL) {
|
||||
return true;
|
||||
|
||||
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
|
||||
ComputeMaskedBits(Elem, KnownZero, KnownOne, DL);
|
||||
computeKnownBits(Elem, KnownZero, KnownOne, DL);
|
||||
if (KnownZero.isAllOnesValue())
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user