[all-commits] [llvm/llvm-project] 2d9c6e: [Thumb1] Use callee-saved register to adjust stack...

walkerkd via All-commits all-commits at lists.llvm.org
Thu Aug 17 10:30:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d9c6e699a09d1363e435e6692508dd290984a00
      https://github.com/llvm/llvm-project/commit/2d9c6e699a09d1363e435e6692508dd290984a00
  Author: Keith Walker <keith.walker at arm.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
    M llvm/test/CodeGen/ARM/cmse.ll
    M llvm/test/CodeGen/ARM/thumb1-varalloc.ll
    M llvm/test/CodeGen/Thumb/2011-EpilogueBug.ll
    M llvm/test/CodeGen/Thumb/callee_save.ll
    M llvm/test/CodeGen/Thumb/emergency-spill-slot.ll
    M llvm/test/CodeGen/Thumb/frame-chain.ll
    M llvm/test/CodeGen/Thumb/large-stack.ll

  Log Message:
  -----------
  [Thumb1] Use callee-saved register to adjust stack pointer

When adjusting the Stack Pointer at the end of the function epilogue,
use a callee-saved register, rather than explicitly using R4 which may
not have been saved.

Differential Revision: https://reviews.llvm.org/D157500




More information about the All-commits mailing list