diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2020-03-18 03:34:27 +0000 |
---|---|---|
committer | QingShan Zhang <qshanz@cn.ibm.com> | 2020-03-18 03:34:27 +0000 |
commit | d577193c0f74104d322e4268279750bb6efccf8e (patch) | |
tree | b602a92f5058f3d18f850d4408b844f9a9591bcd /llvm/lib/CodeGen/MachineFrameInfo.cpp | |
parent | bd0ca2627cfa1acde2a272347ed55d88a9751869 (diff) | |
download | llvm-d577193c0f74104d322e4268279750bb6efccf8e.zip llvm-d577193c0f74104d322e4268279750bb6efccf8e.tar.gz llvm-d577193c0f74104d322e4268279750bb6efccf8e.tar.bz2 |
[DAGCombine] Respect the uses when combine FMA for a*b+/-c*d
If it is a*b-c*d, it could be also folded into fma(a, b, -c*d) or fma(-c, d, a*b).
This patch is trying to respect the uses of a*b and c*d to make the best choice.
Differential Revision: https://reviews.llvm.org/D75982
Diffstat (limited to 'llvm/lib/CodeGen/MachineFrameInfo.cpp')
0 files changed, 0 insertions, 0 deletions