[llvm] [RISCV][llvm] Support VFADD, VFSUB, VFMUL codegen for Zvfbfa (PR #170612)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 23:04:35 PST 2025


================
@@ -523,6 +523,71 @@ multiclass VPatConversionVF_WF_BF16<string intrinsic, string instruction,
   }
 }
 
+multiclass VPatBinaryFPSDNode_VV_VF_RM_BF16<SDPatternOperator vop,
----------------
lukel97 wrote:

Instead of creating new pattern multiclasses, can we move them into `VPatBinaryFPSDNode_VV_VF_RM`? That way we don't need to `defm` everything again

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


More information about the llvm-commits mailing list