[llvm] [NFC][RISCV] Unify all zvfbfa vl patterns and sd node patterns (PR #171072)

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 19:15:40 PST 2025


================
@@ -215,13 +215,16 @@ multiclass VPatBinaryFPSDNode_VV_VF<SDPatternOperator vop, string instruction_na
 }
 
 multiclass VPatBinaryFPSDNode_VV_VF_RM<SDPatternOperator vop, string instruction_name,
-                                       bit isSEWAware = 0, bit isBF16 = 0> {
-  foreach vti = !if(isBF16, AllBF16Vectors, AllFloatVectors) in {
+                                       bit isSEWAware = 0, bit supportBF16 = 0> {
+  foreach vti = !if(supportBF16, AllFloatAndBF16Vectors, AllFloatVectors) in {
----------------
4vtomat wrote:

That's a good idea, thanks!

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


More information about the llvm-commits mailing list