[all-commits] [llvm/llvm-project] 1f04ac: [RISCV] Merge two versions of adjustReg on TRI [nfc]

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Nov 30 10:12:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f04ac54f9f7f90edfaad7ffd9ef31264b827c7b
      https://github.com/llvm/llvm-project/commit/1f04ac54f9f7f90edfaad7ffd9ef31264b827c7b
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.h

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list