[all-commits] [llvm/llvm-project] 266c25: [CodeGen] Split determineCalleeSaves into smaller ...

Mikhail Gudim via All-commits all-commits at lists.llvm.org
Tue Jul 14 11:16:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 266c25684b32bd43d846f8de1c3a9f358066ffc4
      https://github.com/llvm/llvm-project/commit/266c25684b32bd43d846f8de1c3a9f358066ffc4
  Author: Mikhail Gudim <mgudim at qti.qualcomm.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetFrameLowering.h
    M llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp

  Log Message:
  -----------
  [CodeGen] Split determineCalleeSaves into smaller functions. (#203981)

The function `getMustPreserveRegisters` - returns the list of registers
that must be preserved by the function.

The function `determineUncondPrologCalleeSaves` - determines which of
the registers reported by `getMustPreserveRegisters` must be saved in
prolog and reloaded in epilog regardless of whether or not they were
modified by the function.



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