[all-commits] [llvm/llvm-project] a0aa58: [AArch64] Save FP for leaf functions when disablin...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Dec 13 18:51:51 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0aa58dad53f2e5e90a9b7079ec31bf7c3144fc7
      https://github.com/llvm/llvm-project/commit/a0aa58dad53f2e5e90a9b7079ec31bf7c3144fc7
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/tail-call-no-save-fp-lr.ll
    M llvm/test/CodeGen/AArch64/aarch64-fix-cortex-a53-835769.ll
    M llvm/test/CodeGen/AArch64/arm64-large-frame.ll
    M llvm/test/CodeGen/AArch64/arm64-shrink-wrapping.ll
    M llvm/test/CodeGen/AArch64/arm64_32.ll
    M llvm/test/CodeGen/AArch64/f16-instructions.ll
    M llvm/test/CodeGen/AArch64/fastcc.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-regsave.mir
    M llvm/test/CodeGen/AArch64/machine-outliner.mir
    M llvm/test/DebugInfo/AArch64/line-header.ll

  Log Message:
  -----------
  [AArch64] Save FP for leaf functions when disabling frame pointer elimination

The change allows clang -mno-omit-leaf-frame-pointer to disable frame
pointer elimination. This behavior matches X86 and Mips, and also GCC
AArch64.

Reviewed By: efriedma

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




More information about the All-commits mailing list