summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-29 16:18:12 +0000
committerDan Gohman <gohman@apple.com>2009-01-29 16:18:12 +0000
commit8b437ccbbe976a2fea162ad6b9b9e1c34e385196 (patch)
treec2610c91f46d40c6c23c729fcab867d00af6f9ab
parentef04ed547782dc21b44fe1c01779b86eb6892bf4 (diff)
downloadbcm5719-llvm-8b437ccbbe976a2fea162ad6b9b9e1c34e385196.tar.gz
bcm5719-llvm-8b437ccbbe976a2fea162ad6b9b9e1c34e385196.zip
Fix two typos that Duncan spotted in a comment.
llvm-svn: 63312
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index e479e05bdd7..1f9d9cf9a72 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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)) {
OpenPOWER on IntegriCloud