[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
Mon Feb 26 12:43:43 PST 2024


================
@@ -78,6 +78,13 @@ class CodeGenOptions : public CodeGenOptionsBase {
     SRCK_InRegs    // Small structs in registers (-freg-struct-return).
   };
 
+  enum ComplexArgumentConventionKind {
+    CMPLX_Default,
+    CMPLX_OnStack,
----------------
diggerlin wrote:

it looks you define the `CMPLX_Default` and   ` CMPLX_OnStack` , but never use them.

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


More information about the cfe-commits mailing list