commit | 8710f1c88efd7461a75ed6af8a3d313bb5b83f22 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Jan 29 16:18:12 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Jan 29 16:18:12 2009 +0000 |
tree | 996bb8f22d6bcdae2baf2d993d19fedf76a16f36 | |
parent | b38eabfc63c1a3741ff0057fe48abe9ee92cd3c7 [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index e479e05..1f9d9cf 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1815,7 +1815,7 @@ } } - // 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)) {