================
@@ -330,22 +330,33 @@ namespace {
class PPC32_SVR4_ABIInfo : public DefaultABIInfo {
bool IsSoftFloatABI;
bool IsRetSmallStructInRegABI;
+ bool IsComplexInRegABI;
----------------
diggerlin wrote:
do we need a new data member `IsComplexInRegABI` here ? (there are several
place code be modified because we add the new data member `IsComplexInRegABI` )
we can add
```
bool IsComplexInRegABI = getCodeGenOpts().getComplexInRegABI() ==
CodeGenOptions::CMPLX_InGPR ;
```
in the function `classifyArgumentType` and `classifyReturnType()`
https://github.com/llvm/llvm-project/pull/77732
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits