[PATCH] D145900: [RISCV] Support ISD::STRICT_FADD/FSUB/FMUL/FDIV for vector types.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 15:50:43 PDT 2023


fakepaper56 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td:830
 defm : VPatBinaryFPSDNode_VV_VF<fadd, "PseudoVFADD">;
+defm : VPatBinaryFPSDNode_VV_VF<strict_fadd, "PseudoVFADD">;
 defm : VPatBinaryFPSDNode_VV_VF<fsub, "PseudoVFSUB">;
----------------
craig.topper wrote:
> Can we use any_fadd?
The type of `any_fadd` is PatFrag and the type of first argument of `VPatBinaryFPSDNode_VV_VF`. I am not sure what types contains PatFrag and SDNode.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145900/new/

https://reviews.llvm.org/D145900



More information about the llvm-commits mailing list