mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-27 14:16:09 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163049 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cf8bac4cc
commit
b79bff50bd
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user