summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-10-01 02:09:00 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-10-01 02:09:00 +0000
commit6aada32dc48e350b39464fec3106a309e2fcf619 (patch)
treece1129389b08e501995282456de04902c1770199 /llvm/lib/CodeGen/SelectionDAG
parent6bbb2c9fcd321d126fe60ee301471061dc14e005 (diff)
downloadbcm5719-llvm-6aada32dc48e350b39464fec3106a309e2fcf619.tar.gz
bcm5719-llvm-6aada32dc48e350b39464fec3106a309e2fcf619.zip
SelectionDAG: Clarify comments from r191600
llvm-svn: 191724
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 26d71ccd2e2..ee373f8040b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1598,7 +1598,7 @@ void SelectionDAGLegalize::ExpandDYNAMIC_STACKALLOC(SDNode* Node,
/// LegalizeSetCCCondCode - Legalize a SETCC with given LHS and RHS and
/// condition code CC on the current target.
/// If the SETCC has been legalized using AND / OR, then the legalized node
-/// will be stored in LHS and RHS and CC will be set to SDValue().
+/// will be stored in LHS. RHS and CC will be set to SDValue().
/// If the SETCC has been legalized by using getSetCCSwappedOperands(),
/// then the values of LHS and RHS will be swapped and CC will be set to the
/// new condition.
@@ -3629,7 +3629,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
if (Legalized) {
// If we exapanded the SETCC by swapping LHS and RHS, create a new SETCC
- // node..
+ // node.
if (Tmp3.getNode())
Tmp1 = DAG.getNode(ISD::SETCC, dl, Node->getValueType(0),
Tmp1, Tmp2, Tmp3);
OpenPOWER on IntegriCloud