[llvm-commits] [llvm] r158467 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Lang Hames
lhames at gmail.com
Thu Jun 14 13:37:15 PDT 2012
Author: lhames
Date: Thu Jun 14 15:37:15 2012
New Revision: 158467
URL: http://llvm.org/viewvc/llvm-project?rev=158467&view=rev
Log:
Make comment slightly more helpful.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=158467&r1=158466&r2=158467&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Thu Jun 14 15:37:15 2012
@@ -5604,7 +5604,7 @@
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
More information about the llvm-commits
mailing list