summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorSean Fertile <sd.fertile@gmail.com>2020-01-02 19:29:56 -0500
committerSean Fertile <sd.fertile@gmail.com>2020-01-02 19:31:01 -0500
commit479e9406c2edad616cd31b551c5bbf1c0a0f41ed (patch)
tree584d056bcfe10daf10efb4efe6d3922c00e0edac /llvm/lib/Target/PowerPC
parent783db7883562b8edd59bf35788057c02ddb7bdfb (diff)
downloadbcm5719-llvm-479e9406c2edad616cd31b551c5bbf1c0a0f41ed.tar.gz
bcm5719-llvm-479e9406c2edad616cd31b551c5bbf1c0a0f41ed.zip
[PowerPC][AIX] Enable sret arguments.
Removes the fatal error for sret arguments and adds lit testing. Differential Revision: https://reviews.llvm.org/D71504
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index df2234eea28..e43acb69493 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -6826,9 +6826,6 @@ static bool CC_AIX(unsigned ValNo, MVT ValVT, MVT LocVT,
if (ArgFlags.isByVal())
report_fatal_error("Passing structure by value is unimplemented.");
- if (ArgFlags.isSRet())
- report_fatal_error("Struct return arguments are unimplemented.");
-
if (ArgFlags.isNest())
report_fatal_error("Nest arguments are unimplemented.");
OpenPOWER on IntegriCloud