[PATCH] D155697: [RISCV] Add tests for vnsr[l,a].wx patterns that could be matched

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 06:23:54 PDT 2023

luke created this revision.
luke added reviewers: craig.topper, reames, frasercrmck, kito-cheng, Jimerlife.
Herald added subscribers: jobnoorman, asb, pmatos, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

These patterns of ([l,a]shr v, ([s,z]ext splat)) only pick up the cases where
the scalar has the same type as the vector element. However since only the low
log2(SEW) bits of the scalar are read, we could use any scalar type that has
been extended.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155697.541989.patch
Type: text/x-patch
Size: 36992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/5a5efd3b/attachment.bin>

More information about the llvm-commits mailing list