[PATCH] D126562: [RISCV][WIP] Load/store relaxation

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 13:02:58 PDT 2022


gkm created this revision.
gkm added reviewers: ruiu, MaskRay, jrtc27, luismarques, reames.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, 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, asb, arichardson, emaste.
Herald added a project: All.
gkm requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD.
Herald added a project: LLVM.

Relax loads, stores, and address arithmetic for absolute, pc-relative, gp-relative
and tp-relative addressing.

[ Caveat: this diff still has some gaps in implementation and testing. ]

Depends on D125497 <https://reviews.llvm.org/D125497>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126562

Files:
  lld/ELF/Arch/RISCV.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/ELF/Relocations.h
  lld/test/ELF/riscv-gp.s
  lld/test/ELF/riscv-relax-hi20-lo12.s
  lld/test/ELF/riscv-relax-pcrel.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126562.432621.patch
Type: text/x-patch
Size: 17518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220527/30949734/attachment.bin>


More information about the llvm-commits mailing list