summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-06-14 20:37:15 +0000
committerLang Hames <lhames@gmail.com>2012-06-14 20:37:15 +0000
commita33db65bd93fff07208e962cd656f44a3ee8acae (patch)
tree71be98599bf2df22d12071cdd5bdb5bd05fc630f /llvm/lib
parent34fd6e9cc2599058d6fbff135808cfabe215ab58 (diff)
downloadbcm5719-llvm-a33db65bd93fff07208e962cd656f44a3ee8acae.tar.gz
bcm5719-llvm-a33db65bd93fff07208e962cd656f44a3ee8acae.zip
Make comment slightly more helpful.
llvm-svn: 158467
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 3b8489f03b9..369d927112f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -5604,7 +5604,7 @@ SDValue DAGCombiner::visitFADD(SDNode *N) {
if (FoldedVOp.getNode()) return FoldedVOp;
}
- // fold (fadd c1, c2) -> (fadd c1, c2)
+ // fold (fadd c1, c2) -> c1 + c2
if (N0CFP && N1CFP && VT != MVT::ppcf128)
return DAG.getNode(ISD::FADD, N->getDebugLoc(), VT, N0, N1);
// canonicalize constant to RHS
OpenPOWER on IntegriCloud