[llvm] [LLVM] Combine v_cvt_f32_f16 and v_add_f32/v_mul_f32 into v_fma_mix_f32 (PR #160151)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 01:07:10 PDT 2025


================
@@ -4127,6 +4127,24 @@ bool AMDGPUDAGToDAGISel::SelectVOP3PMadMixBF16Mods(SDValue In, SDValue &Src,
   return true;
 }
 
+bool AMDGPUDAGToDAGISel::SelectVOP3PMadMixModsNeg(SDValue In, SDValue &Src,
+                                                  SDValue &SrcMods) const {
+  unsigned Mods = 0;
+  SelectVOP3PMadMixModsImpl(In, Src, Mods, MVT::f16);
----------------
arsenm wrote:

That sounds more like another missing combine in globalisel 

https://github.com/llvm/llvm-project/pull/160151


More information about the llvm-commits mailing list