[PATCH] D108188: [RISCV][test] Add new tests for add optimization in the zba extension

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 23:20:31 PDT 2021


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

These tests will should how (add x, imm) will be optimized to
(shxadd x, imm>>bits) if imm is not simm12 while (imm>>bits) is.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108188

Files:
  llvm/test/CodeGen/RISCV/rv32zba.ll
  llvm/test/CodeGen/RISCV/rv64zba.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108188.366811.patch
Type: text/x-patch
Size: 2879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/c2535caa/attachment.bin>


More information about the llvm-commits mailing list