diff options
author | Michael Liao <michael.liao@intel.com> | 2012-09-01 04:09:16 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-09-01 04:09:16 +0000 |
commit | ec385012ae7bc3ca9ba886ec35430f22a21cb41f (patch) | |
tree | d280bd5a51efd85b2c8eb5af061814bac7982496 | |
parent | 513c6bb88cb8e9174465ec987498b14d345ce3a0 (diff) | |
download | llvm-ec385012ae7bc3ca9ba886ec35430f22a21cb41f.zip llvm-ec385012ae7bc3ca9ba886ec35430f22a21cb41f.tar.gz llvm-ec385012ae7bc3ca9ba886ec35430f22a21cb41f.tar.bz2 |
Fix typo
llvm-svn: 163049
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index d338ac8..cd528c5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -5814,7 +5814,7 @@ SDValue DAGCombiner::visitFADD(SDNode *N) { N0.getOperand(0), N0.getOperand(1), N1); } - // fold (fadd x, (fmul y, z)) -> (fma x, y, z) + // fold (fadd x, (fmul y, z)) -> (fma y, z, x) // Note: Commutes FADD operands. if (N1.getOpcode() == ISD::FMUL && N1->hasOneUse()) { return DAG.getNode(ISD::FMA, N->getDebugLoc(), VT, |