================
@@ -420,6 +496,10 @@ ABIArgInfo PPC32_SVR4_ABIInfo::classifyReturnType(QualType
RetTy) const {
return ABIArgInfo::getDirect(CoerceTy);
}
}
+ if (IsComplexInRegABI && RetTy->isAnyComplexType()) {
+ assert(RetTy->isAnyComplexType() && "RetTy must be Complex type.");
----------------
diggerlin wrote:
you already has `if (IsComplexInRegABI && RetTy->isAnyComplexType())` as
condition, is there any reason to keep the `assert(RetTy->isAnyComplexType() &&
"RetTy must be Complex type.");`
https://github.com/llvm/llvm-project/pull/77732
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits