[llvm] [llvm][RISCV] Support fma codegen for zvfbfa (PR #172949)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 09:23:56 PST 2025


================
@@ -18306,7 +18307,9 @@ NodeExtensionHelper::getSupportedFoldings(const SDNode *Root) {
   case RISCVISD::VFNMADD_VL:
   case RISCVISD::VFNMSUB_VL:
     Strategies.push_back(canFoldToVWWithSameExtension);
-    if (Root->getOpcode() == RISCVISD::VFMADD_VL)
+    // FIXME: Once other widen operations are supported we can merge
----------------
topperc wrote:

We need a test

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


More information about the llvm-commits mailing list