[PATCH] D135330: [RISCV] Add isel patterns for vmacc, vnmsac.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 16:11:55 PDT 2022


fakepaper56 created this revision.
fakepaper56 added reviewers: craig.topper, frasercrmck, reames.
Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, 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 selects VSELECT/VP_MERGE_VL which uses fmadd/fnmsub as true operand
and the adden of the fmadd/fnmsub as false operand.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135330

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmacc-vp.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnmsac-vp.ll
  llvm/test/CodeGen/RISCV/rvv/vmacc-vp.ll
  llvm/test/CodeGen/RISCV/rvv/vnmsac-vp.ll



More information about the llvm-commits mailing list