[PATCH] D145562: [RISCV][NFC] Add tests for SLP vectorization of math functions

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 02:21:39 PST 2023


benshi001 created this revision.
benshi001 added reviewers: reames, craig.topper, asb, luismarques.
Herald added subscribers: luke, vporpo, VincentWu, vkmr, frasercrmck, evandro, 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, arichardson.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.
Herald added a project: LLVM.

RISCV has "vfabs.v" and "vfsqrt.v" so math functions 'abs' and 'sqrt'
can be SLP vectorized. But others 'exp/log/sin/asin/sinh/asinh/...'
can not.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145562

Files:
  llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145562.503276.patch
Type: text/x-patch
Size: 52849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/051ff924/attachment.bin>


More information about the llvm-commits mailing list