[PATCH] D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand.

Dmitry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 07:25:24 PDT 2022


dybv-sc created this revision.
Herald added subscribers: sunshaoce, VincentWu, vkmr, frasercrmck, evandro, mstojanovic, 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, arichardson.
Herald added a project: All.
dybv-sc requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, courbet, MaskRay.
Herald added a project: LLVM.

Marking rs1 (memory offset base) as memory operand provides additional
semantic value to this operand that can be used by different tools
(e.g. llvm-exegesis).

This change does not affect neigther Isel nor assembler. However it
required some tweaks in tablegen compressed inst emmiter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136847

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoC.td
  llvm/lib/Target/RISCV/RISCVInstrInfoF.td
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/utils/TableGen/CompressInstEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136847.471162.patch
Type: text/x-patch
Size: 37762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/b05c7bc6/attachment.bin>


More information about the llvm-commits mailing list