[PATCH] D18514: [SystemZ] Support llvm.frameaddress/llvm.returnaddress intrinsics
Bryan Chan via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 04:13:36 PDT 2016
bryanpkc created this revision.
bryanpkc added a reviewer: uweigand.
bryanpkc added a subscriber: llvm-commits.
Enable the SystemZ back-end to lower FRAMEADDR and RETURNADDR, which previously would cause the back-end to crash. Also add a target attribute "backchain" to enable support for the optional back chain slot in the ABI, similar to the -mbackchain option in GCC. By default, this attribute is disabled and a non-zero frame count will result in an error.
http://reviews.llvm.org/D18514
Files:
lib/Target/SystemZ/SystemZFrameLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
lib/Target/SystemZ/SystemZMachineFunctionInfo.h
lib/Target/SystemZ/SystemZProcessors.td
lib/Target/SystemZ/SystemZSubtarget.cpp
lib/Target/SystemZ/SystemZSubtarget.h
test/CodeGen/SystemZ/frameaddr-01.ll
test/CodeGen/SystemZ/frameaddr-02.ll
test/CodeGen/SystemZ/ret-addr-01.ll
test/CodeGen/SystemZ/ret-addr-02.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18514.51778.patch
Type: text/x-patch
Size: 16321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160328/e3d79630/attachment.bin>
More information about the llvm-commits
mailing list