[all-commits] [llvm/llvm-project] 3e2aad: [RISCV] Speed up RISCVRegisterInfo::needsFrameBase...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 17 21:03:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e2aad412ada8f1db88c9e0f984a302deed74f4b
      https://github.com/llvm/llvm-project/commit/3e2aad412ada8f1db88c9e0f984a302deed74f4b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

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

  Log Message:
  -----------
  [RISCV] Speed up RISCVRegisterInfo::needsFrameBaseReg when frame pointer isn't used. NFC (#89163)

The callee saved size is only used if there is a frame pointer. Sink the
code onto the frame pointer only path.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list