[PATCH] D118013: [RISCV] Select int_riscv_vsll with shift of 1 to vadd.vv.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 23 21:40:54 PST 2022


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, rogfer01, khchen, arcbbb, kito-cheng.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Add might be faster than shift. We can't do this earlier without
using a Freeze instruction.

This is the intrinsic version of D106689 <https://reviews.llvm.org/D106689>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118013

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/CodeGen/RISCV/rvv/vsll-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vsll-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118013.402394.patch
Type: text/x-patch
Size: 5689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/e4ecff35/attachment.bin>


More information about the llvm-commits mailing list