[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 00:11:16 PDT 2023


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

The patch handles fixed type strict-fp by new RISCVISD::STRICT_ prefixed
isd nodes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145900

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfadd-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfdiv-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmul-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfsub-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfadd-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfdiv-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfmul-constrained-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfsub-constrained-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145900.504523.patch
Type: text/x-patch
Size: 157367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/8f480afc/attachment.bin>


More information about the llvm-commits mailing list