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.
Paths
| Differential D101897
[SystemZ] Support builtin_frame_address with packed stack and no backchain. ClosedPublic Authored by jonpa on May 5 2021, 5:08 AM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 5 2021, 6:08 AM Closed by commit rGa0da66bc1330: [SystemZ] Support builtin_frame_address with packed stack without backchain. (authored by jonpa). · Explain WhyMay 6 2021, 3:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 343348 llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/frameaddr-02.ll
|