projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197e88f
)
Fix two typos that Duncan spotted in a comment.
author
Dan Gohman
<gohman@apple.com>
Thu, 29 Jan 2009 16:18:12 +0000
(16:18 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 29 Jan 2009 16:18:12 +0000
(16:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63312
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index e479e05bdd71fcff6670e863cf64d28d189ba40b..1f9d9cf9a72e1c19a6b45df2bf851b943f8bbbfe 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@
-1815,7
+1815,7
@@
TargetLowering::SimplifySetCC(MVT VT, SDValue N0, SDValue N1,
}
}
- // Simp
ify x&y == y to x&y =
= 0 if y has exactly one bit set.
+ // Simp
lify 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)) {