[PATCH] D151969: [RISCV] Add RISCVISD nodes for vfwadd/vfwsub.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 22:26:08 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: reames, frasercrmck, rogfer01, fakepaper56, kito-cheng.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Add a DAG combine to form these from FADD_VL/FSUB_VL and FP_EXTEND_VL.

This makes it similar to other widening ops and allows us to handle
using the same FP_EXTEND_VL for both operands.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151969

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
  llvm/test/CodeGen/RISCV/rvv/vfwadd-vp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151969.527735.patch
Type: text/x-patch
Size: 14355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230602/056af098/attachment.bin>


More information about the llvm-commits mailing list