[llvm] [RISCV][VLOPT] Add Vector FP instructions to getOperandInfo (PR #121609)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 14:53:07 PST 2025


================
@@ -503,7 +563,21 @@ static OperandInfo getOperandInfo(const MachineOperand &MO,
   case RISCV::VWADD_WV:
   case RISCV::VWADD_WX:
   case RISCV::VWSUB_WV:
-  case RISCV::VWSUB_WX: {
+  case RISCV::VWSUB_WX:
+  // Vector Widening Floating-Point Add/Subtract Instructions
+  case RISCV::VFWADD_WF:
+  case RISCV::VFWADD_WV:
+  case RISCV::VFWSUB_WF:
+  case RISCV::VFWSUB_WV:
+  // Vector Widening Floating-Point Fused Multiply-Add Instructions
+  case RISCV::VFWMACC_VF:
----------------
michaelmaitland wrote:

Thats a good point. 

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


More information about the llvm-commits mailing list