[all-commits] [llvm/llvm-project] a0da66: [SystemZ] Support builtin_frame_address with packe...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu May 6 03:51:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0da66bc1330f9808ed9814aaa9c3c3d3244852d
      https://github.com/llvm/llvm-project/commit/a0da66bc1330f9808ed9814aaa9c3c3d3244852d
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/frameaddr-02.ll

  Log Message:
  -----------
  [SystemZ] Support builtin_frame_address with packed stack without backchain.

In order to use __builtin_frame_address(0) with packed stack and no
backchain, the address of where the backchain would have been written is
returned (like GCC).

This address may either contain a saved register or be unused.

Review: Ulrich Weigand

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




More information about the All-commits mailing list