summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-04 16:49:15 +0000
committerDan Gohman <gohman@apple.com>2009-06-04 16:49:15 +0000
commitc2eed3b0f81a4aa43799f814de9e34a2567a5366 (patch)
treeeef927aceff5b438691fbe7936088b5e0ae894d8 /llvm/lib
parent0261e5c960730d894d83d6b3f16e4580189bb3ee (diff)
downloadbcm5719-llvm-c2eed3b0f81a4aa43799f814de9e34a2567a5366.tar.gz
bcm5719-llvm-c2eed3b0f81a4aa43799f814de9e34a2567a5366.zip
Fix comments.
llvm-svn: 72870
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 195896ee89d..2c645e42083 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -154,7 +154,7 @@ bool ISD::isBuildVectorAllZeros(const SDNode *N) {
// Do not accept an all-undef vector.
if (i == e) return false;
- // Do not accept build_vectors that aren't all constants or which have non-~0
+ // Do not accept build_vectors that aren't all constants or which have non-0
// elements.
SDValue Zero = N->getOperand(i);
if (isa<ConstantSDNode>(Zero)) {
@@ -166,7 +166,7 @@ bool ISD::isBuildVectorAllZeros(const SDNode *N) {
} else
return false;
- // Okay, we have at least one ~0 value, check to see if the rest match or are
+ // Okay, we have at least one 0 value, check to see if the rest match or are
// undefs.
for (++i; i != e; ++i)
if (N->getOperand(i) != Zero &&
OpenPOWER on IntegriCloud