diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-11-04 13:26:38 +0100 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-11-04 13:45:51 +0100 |
| commit | 22f9429149a8faed1f5770aca89e68409ae2cc4f (patch) | |
| tree | e783a393bedbacfd5217848b30aded8f6ee9e172 /llvm/lib/Target/SystemZ/SystemZCallingConv.h | |
| parent | 499c90afe9099ff700ca8c8f44a2cbf94b1dd627 (diff) | |
| download | bcm5719-llvm-22f9429149a8faed1f5770aca89e68409ae2cc4f.tar.gz bcm5719-llvm-22f9429149a8faed1f5770aca89e68409ae2cc4f.zip | |
[SystemZ] Add GHC calling convention
This is a special calling convention to be used by the GHC compiler.
Author: Stefan Schulze Frielinghaus
Differential Revision: https://reviews.llvm.org/D69024
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZCallingConv.h')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZCallingConv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZCallingConv.h b/llvm/lib/Target/SystemZ/SystemZCallingConv.h index 82f29b6361f..4432adc6a26 100644 --- a/llvm/lib/Target/SystemZ/SystemZCallingConv.h +++ b/llvm/lib/Target/SystemZ/SystemZCallingConv.h @@ -124,6 +124,13 @@ inline bool CC_SystemZ_I128Indirect(unsigned &ValNo, MVT &ValVT, return true; } +inline bool CC_SystemZ_GHC_Error(unsigned &, MVT &, MVT &, + CCValAssign::LocInfo &, ISD::ArgFlagsTy &, + CCState &) { + report_fatal_error("No registers left in GHC calling convention"); + return false; +} + } // end namespace llvm #endif |

