[PATCH] D139721: [RISCV][VP] Support vp.reduce.mul by ExpandVectorPredication

Yingchi Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 09:00:31 PST 2022


inclyc created this revision.
Herald added subscribers: sunshaoce, VincentWu, vkmr, frasercrmck, rogfer01, 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.
inclyc added reviewers: frasercrmck, craig.topper.
Herald added a subscriber: StephenFan.
inclyc published this revision for review.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Most of VP intrinsics are implemented in RISC-V backends, but vp.reduce.mul (element length > 1) does not yet. Legalizes vp.reduce.mul using ExpandVectorPredication Pass.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139721

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139721.481667.patch
Type: text/x-patch
Size: 18557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221209/db3ec611/attachment.bin>


More information about the llvm-commits mailing list