[PATCH] D69024: [SystemZ] Add GHC calling convention
Stefan Schulze Frielinghaus via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 00:47:22 PDT 2019
stefansf updated this revision to Diff 226097.
stefansf added a comment.
More test cases added
While adding a test case for each report_fatal_error() I also added a check for
a frame pointer in function emitPrologue.
One could argue whether test case `ghc-cc-07.ll` checks for a frame pointer or
for a variable length array. I checked and reported for the former since a VLA
requires a frame pointer, however, the pure existence of a frame pointer does
not imply a VLA. Thus checking for a frame pointer---which is not supported in
GHC CC since register r11 is occupied---is more general and catches hopefully
more potential errors.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69024/new/
https://reviews.llvm.org/D69024
Files:
llvm/lib/Target/SystemZ/SystemZCallingConv.h
llvm/lib/Target/SystemZ/SystemZCallingConv.td
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp
llvm/test/CodeGen/SystemZ/ghc-cc-01.ll
llvm/test/CodeGen/SystemZ/ghc-cc-02.ll
llvm/test/CodeGen/SystemZ/ghc-cc-03.ll
llvm/test/CodeGen/SystemZ/ghc-cc-04.ll
llvm/test/CodeGen/SystemZ/ghc-cc-05.ll
llvm/test/CodeGen/SystemZ/ghc-cc-06.ll
llvm/test/CodeGen/SystemZ/ghc-cc-07.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69024.226097.patch
Type: text/x-patch
Size: 15929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191023/3c46b4ad/attachment.bin>
More information about the llvm-commits
mailing list