[clang] [clang][PowerPC] Add flag to enable compatibility with GNU for complex arguments (PR #77732)

zhijian lin via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 07:23:45 PST 2024


================
@@ -271,22 +271,33 @@ namespace {
 class PPC32_SVR4_ABIInfo : public DefaultABIInfo {
   bool IsSoftFloatABI;
   bool IsRetSmallStructInRegABI;
+  bool isComplexInRegABI;
+  // Size of GPR in bits
+  unsigned RLen;
----------------
diggerlin wrote:

`RLen` is too short to understand what `R` means , suggest to change to `RegLen` and `RegisterLen`.  and Do we need to add `RLen` ? since the  class is PPC32_SVR4_ABIInfo, Should the Register Len be default to 32 bit ?

https://github.com/llvm/llvm-project/pull/77732


More information about the cfe-commits mailing list