[PATCH] D145900: [RISCV] Support ISD::STRICT_FADD/FSUB/FMUL/FDIV for vector types.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 15:55:40 PDT 2023
craig.topper 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">;
----------------
fakepaper56 wrote:
> 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.
I think the common base class is SDPatternOperator.
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