[RISCV] Reuse and generalize adjustReg from another spot in frame lowering [nfc]
authorPhilip Reames <preames@rivosinc.com>
Wed, 30 Nov 2022 17:38:21 +0000 (09:38 -0800)
committerPhilip Reames <listmail@philipreames.com>
Wed, 30 Nov 2022 17:43:14 +0000 (09:43 -0800)
commit80fcf992b7b7d78a901bc8f35769ada72017f015
tree684c8b143f8ac34b079002ec19058d95da63cafe
parentf5e2481b42fb4539232b5621adcfc03d2eeb4eb7
[RISCV] Reuse and generalize adjustReg from another spot in frame lowering [nfc]

Differential Revision: https://reviews.llvm.org/D138926
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
llvm/lib/Target/RISCV/RISCVRegisterInfo.h