[PATCH] D138926: [RISCV] Reuse and generalize adjustReg from another spot in frame lowering [nfc]

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 07:43:16 PST 2022


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

Change is straight forward.  Posted for review for a second set of eyes on the generalization.  In particularly, SrcReg being equal to DestReg is new with this caller.  Already caught one bug due to that, anyone spot anything else?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138926

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
  llvm/lib/Target/RISCV/RISCVRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138926.478591.patch
Type: text/x-patch
Size: 5259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221129/a35e0f58/attachment.bin>


More information about the llvm-commits mailing list