summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-14 06:14:42 +0000
committerChris Lattner <sabre@nondot.org>2011-02-14 06:14:42 +0000
commit463b3c2a9974acf7586d1e6a4416aa7cc004ff0e (patch)
tree444377f55d665f4afc5abc2a3a717ddeaf385770 /include/llvm/CodeGen/SelectionDAG.h
parent551b6751a0a1bace73d4490b02b720e5e5edf787 (diff)
downloadllvm-463b3c2a9974acf7586d1e6a4416aa7cc004ff0e.tar.gz
llvm-463b3c2a9974acf7586d1e6a4416aa7cc004ff0e.tar.bz2
llvm-463b3c2a9974acf7586d1e6a4416aa7cc004ff0e.tar.xz
fix two comment thinkos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index f1c9389656..ecb347e00b 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -974,7 +974,7 @@ public:
/// ISD::ADD with a ConstantSDNode on the right-hand side, or if it is an
/// ISD::OR with a ConstantSDNode that is guaranteed to have the same
/// semantics as an ADD. This handles the equivalence:
- /// X|Cst == X+Cst iff X&~Cst = 0.
+ /// X|Cst == X+Cst iff X&Cst = 0.
bool isBaseWithConstantOffset(SDValue Op) const;
/// isKnownNeverNan - Test whether the given SDValue is known to never be NaN.