[llvm] r191724 - SelectionDAG: Clarify comments from r191600

Tom Stellard thomas.stellard at amd.com
Mon Sep 30 19:09:00 PDT 2013


Author: tstellar
Date: Mon Sep 30 21:09:00 2013
New Revision: 191724

URL: http://llvm.org/viewvc/llvm-project?rev=191724&view=rev
Log:
SelectionDAG: Clarify comments from r191600

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=191724&r1=191723&r2=191724&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Mon Sep 30 21:09:00 2013
@@ -1598,7 +1598,7 @@ void SelectionDAGLegalize::ExpandDYNAMIC
 /// 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(SD
 
     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);





More information about the llvm-commits mailing list