mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Fix two typos that Duncan spotted in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
197e88f796
commit
2c65c3dfe6
@ -1815,7 +1815,7 @@ TargetLowering::SimplifySetCC(MVT VT, SDValue N0, SDValue N1,
|
||||
}
|
||||
}
|
||||
|
||||
// Simpify x&y == y to x&y == 0 if y has exactly one bit set.
|
||||
// Simplify x&y == y to x&y != 0 if y has exactly one bit set.
|
||||
if (N0.getOpcode() == ISD::AND)
|
||||
if (N0.getOperand(0) == N1 || N0.getOperand(1) == N1) {
|
||||
if (ValueHasAtMostOneBitSet(N1, DAG)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user