projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5cf8bac
)
Fix typo
author
Michael Liao
<michael.liao@intel.com>
Sat, 1 Sep 2012 04:09:16 +0000
(
04:09
+0000)
committer
Michael Liao
<michael.liao@intel.com>
Sat, 1 Sep 2012 04:09:16 +0000
(
04:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163049
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index d338ac81ed5c513890cb6c878280143280111074..cd528c5a32ab02461e60713383174c64777a5513 100644
(file)
--- 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,