[all-commits] [llvm/llvm-project] 1a5be5: [RISCV] Move implementation of adjustReg from fram...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Nov 28 12:41:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a5be5265cc0eeb5d4b2571e72af01754a167042
      https://github.com/llvm/llvm-project/commit/1a5be5265cc0eeb5d4b2571e72af01754a167042
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-11-28 (Mon, 28 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] Move implementation of adjustReg from frame lowering to register info [nfc]

Putting both variants of this function in the same place, in advance of code resuse.  Note that I tweaked the API slightly in advance of additional callers without the alignment requirement.  Some of the existing callers may also be okay with weaker alignment requirements, but that should be it's own set of changes.




More information about the All-commits mailing list