[PATCH] D19414: [SystemZ] Support Swift Calling Convention

Bryan Chan via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 08:43:09 PDT 2016


bryanpkc created this revision.
bryanpkc added reviewers: uweigand, kbarton, manmanren, rjmccall.
bryanpkc added a subscriber: llvm-commits.

Port rL265480, rL264754, rL265997 and rL266252 to SystemZ, in order to enable the Swift port on the architecture. SwiftSelf and SwiftError are assigned to R10 and R9, respectively, which are normally callee-saved registers. For more information, see:

  RFC: Implementing the Swift calling convention in LLVM and Clang
  https://groups.google.com/forum/#!topic/llvm-dev/epDd2w93kZ0

http://reviews.llvm.org/D19414

Files:
  lib/Target/SystemZ/SystemZCallingConv.td
  lib/Target/SystemZ/SystemZISelLowering.cpp
  lib/Target/SystemZ/SystemZISelLowering.h
  lib/Target/SystemZ/SystemZRegisterInfo.cpp
  test/CodeGen/SystemZ/swift-return.ll
  test/CodeGen/SystemZ/swifterror.ll
  test/CodeGen/SystemZ/swiftself.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19414.54661.patch
Type: text/x-patch
Size: 25720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160422/53d8ed0b/attachment.bin>


More information about the llvm-commits mailing list