[PATCH] D95106: [RISCV] Add isel patterns for SH*ADD(.UW)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 16:59:28 PST 2021


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, asb, luismarques, lewis-revill, simoncook, PaoloS, kito-cheng.
Herald added subscribers: NickHung, evandro, apazos, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, johnrusso, rbar, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

This adds an initial set of patterns for these instructions. Its
more complicated that I would like for the sh*add.uw instructions
because there is no guaranteed canonicalization for shl/and with
constants.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95106

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoB.td
  llvm/test/CodeGen/RISCV/rv32Zba.ll
  llvm/test/CodeGen/RISCV/rv64Zba.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95106.318067.patch
Type: text/x-patch
Size: 10590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/f2d73150/attachment.bin>


More information about the llvm-commits mailing list