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 | b79bff50bdf68615dfa1ddd2239c8d093e155e1f (patch) | |
tree | 4de66b6cd5215ebb25404848c13e40dbcc8ff2af | |
parent | 5cf8bac4cc5954a7083d45cf0ead7379d25a6f9c (diff) |
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163049 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index d338ac81ed..cd528c5a32 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/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, |