[all-commits] [llvm/llvm-project] 8af297: [SystemZ][z/OS] Fix the entry point marker for lea...

Neumann Hon via All-commits all-commits at lists.llvm.org
Sun Aug 20 18:56:23 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8af297bbb8e97de8908b857eae1a44f46a0d5afe
  Author: Neumann Hon <neumann.hon at ibm.com>
  Date:   2023-08-20 (Sun, 20 Aug 2023)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll

  Log Message:
  [SystemZ][z/OS] Fix the entry point marker for leaf functions

The function emitFunctionEntryLabel does not look at whether or not a function is a leaf when setting the entry flags,
and instead blindly marks all functions as non-leaf routines. Change it to check if a function is a leaf function and
mark it accordingly.

More information about the All-commits mailing list