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

Amy Kwan via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 09:25:50 PST 2024


================
@@ -361,6 +439,9 @@ ABIArgInfo PPC32_SVR4_ABIInfo::classifyReturnType(QualType RetTy) const {
       return ABIArgInfo::getDirect(CoerceTy);
     }
   }
+  if (isComplexInRegABI && RetTy->isAnyComplexType()) {
----------------
amy-kwan wrote:

Braces not needed here.

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


More information about the cfe-commits mailing list