[RISCV] Merge two versions of adjustReg on TRI [nfc]
authorPhilip Reames <preames@rivosinc.com>
Wed, 30 Nov 2022 18:09:46 +0000 (10:09 -0800)
committerPhilip Reames <listmail@philipreames.com>
Wed, 30 Nov 2022 18:12:40 +0000 (10:12 -0800)
commit1f04ac54f9f7f90edfaad7ffd9ef31264b827c7b
tree0481a7158ab15522b0485455a6985b2e4e12425e
parent3d9e226081cf6a908c27cedf4c0dc72380b62bb2
[RISCV] Merge two versions of adjustReg on TRI [nfc]

After ac1ec9e, the version with the StackOffset param has a strict superset of behavior.  As a result, we can switch callers to use it, and then inline the other version into the now-single caller.
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
llvm/lib/Target/RISCV/RISCVRegisterInfo.h