[PATCH] D129179: [RISCV] Extend use of SHXADD instructions in RVV spill/reload code.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 02:21:53 PDT 2022


jacquesguan created this revision.
jacquesguan added reviewers: reames, craig.topper, asb, luismarques, frasercrmck, benshi001.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, evandro, 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, hiraditya, arichardson.
Herald added a project: All.
jacquesguan requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

This patch extends D124824 <https://reviews.llvm.org/D124824>. It uses SHXADD+SLLI to emit 3, 5, or 9 multiplied by a power 2.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129179

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/test/CodeGen/RISCV/rvv/allocate-lmul-2-4-8.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129179.442479.patch
Type: text/x-patch
Size: 4452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220706/953efa1a/attachment.bin>


More information about the llvm-commits mailing list