[PATCH] D146529: [RISCV][NFC] Add test case for SLP reduction vectorization failure
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 07:50:49 PDT 2023
luke created this revision.
luke added reviewers: reames, craig.topper, benshi001.
Herald added subscribers: jobnoorman, asb, vporpo, pmatos, VincentWu, vkmr, frasercrmck, 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, arichardson.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
Horizontal reductions still occur on RISC-V, despite the maximum SLP VF
reported back by TTI being 1, to disable SLP.
This can cause the cost model to think it can vectorize a gather into
smaller, widened loads, when it will actually fail to do so.
This should ultimately be fixed whenever SLP is re-enabled for RISC-V at
some point.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146529
Files:
llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146529.506980.patch
Type: text/x-patch
Size: 4999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230321/c2db4715/attachment.bin>
More information about the llvm-commits
mailing list