[PATCH] D102019: [RISCV] Match trunc_vector_vl+sra_vl/srl_vl with splat shift amount to vnsra/vnsrl.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 6 13:12:01 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, evandro, HsiangKai, khchen, arcbbb.
Herald added subscribers: StephenFan, vkmr, 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, asb, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Limited to splats because we would need to truncate the shift
amount vector otherwise.

I think I have an idea how to improve i64 on RV32 I'll save for a
follow up.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102019

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnsra-vnsrl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102019.343487.patch
Type: text/x-patch
Size: 9878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/0bed8246/attachment.bin>


More information about the llvm-commits mailing list