[PATCH] D146442: [RISCV][NFC] Make interleaved access test more vectorizable

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 10:39:58 PDT 2023


luke created this revision.
luke added reviewers: reames, craig.topper.
Herald added subscribers: jobnoorman, asb, 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.

The previous test case stored the result of a deinterleaved load and add
into the same source address, which resulted in some scatters which we
weren't testing for and made the tests harder to understand.
Store it at a separate address, which will make the tests easier to read
when the cost model is changed after D145085 <https://reviews.llvm.org/D145085> is landed


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146442

Files:
  llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146442.506643.patch
Type: text/x-patch
Size: 7104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230320/d22392ad/attachment.bin>


More information about the llvm-commits mailing list