[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 17:28:14 PDT 2023
fakepaper56 marked 4 inline comments as done.
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:
> 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.
Done. Thank your advise.
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