[PATCH] D123265: [RISCV] Extend the Merge Base Offset pass to handle AUIPC+ADDI

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 16:07:20 PDT 2022


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

Builds upon D123264 <https://reviews.llvm.org/D123264>, adding support to merge the low part of the LLA address into the load/store instruction offsets.

This needs more testing and more tests. But the priority is reviewing D123264 <https://reviews.llvm.org/D123264>, to clarify if this is even a viable approach.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123265

Files:
  llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
  llvm/test/CodeGen/RISCV/codemodel-lowering.ll
  llvm/test/CodeGen/RISCV/machinelicm-address-pseudos.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123265.421032.patch
Type: text/x-patch
Size: 14094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220406/2011874b/attachment.bin>


More information about the llvm-commits mailing list