mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
isKnownToBeAPowerOfTwo: Fix a typo in a comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -870,7 +870,7 @@ bool llvm::isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth) {
|
|||||||
if (YBO->getOpcode() == Instruction::And ||
|
if (YBO->getOpcode() == Instruction::And ||
|
||||||
YBO->getOpcode() == Instruction::Xor)
|
YBO->getOpcode() == Instruction::Xor)
|
||||||
if (YBO->getOperand(0) == X || YBO->getOperand(1) == X)
|
if (YBO->getOperand(0) == X || YBO->getOperand(1) == X)
|
||||||
if (isKnownToBeAPowerOfTwo(X, /*OrYero*/true, Depth))
|
if (isKnownToBeAPowerOfTwo(X, /*OrZero*/true, Depth))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user