mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
fix two comment thinkos
llvm-svn: 125481
This commit is contained in:
parent
e980f95634
commit
2552afcae6
@ -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.
|
||||
|
@ -2292,7 +2292,7 @@ unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const{
|
||||
/// 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 SelectionDAG::isBaseWithConstantOffset(SDValue Op) const {
|
||||
if ((Op.getOpcode() != ISD::ADD && Op.getOpcode() != ISD::OR) ||
|
||||
!isa<ConstantSDNode>(Op.getOperand(1)))
|
||||
|
Loading…
Reference in New Issue
Block a user