diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-10-01 02:09:00 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-10-01 02:09:00 +0000 |
commit | 20a3bc600c62b2519a1b6be7e752a8ac00deac3b (patch) | |
tree | 1f3fa07da3c7ef144fa19ede3b60d12318d5e0fb /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 70c1ea493e6156eccde5270c139ef423b19ab580 (diff) | |
download | llvm-20a3bc600c62b2519a1b6be7e752a8ac00deac3b.tar.gz llvm-20a3bc600c62b2519a1b6be7e752a8ac00deac3b.tar.bz2 llvm-20a3bc600c62b2519a1b6be7e752a8ac00deac3b.tar.xz |
SelectionDAG: Clarify comments from r191600
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 26d71ccd2e..ee373f8040 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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); |