[llvm-branch-commits] [llvm] [DAGCombiner][GlobalISel] Prevent FMA contraction when fmul cannot be eliminated (FADD/FSUB pattern) (PR #188114)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 6 10:37:52 PDT 2026
================
@@ -6309,6 +6309,32 @@ static bool hasMoreUses(const MachineInstr &MI0, const MachineInstr &MI1,
MRI.use_instr_nodbg_end());
}
+/// Check if all uses of a multiply can be contracted into FMA operations.
----------------
arsenm wrote:
Does it really need to be all uses, or >= 2 uses enough?
https://github.com/llvm/llvm-project/pull/188114
More information about the llvm-branch-commits
mailing list