================
@@ -277,6 +313,20 @@ ABIArgInfo SparcV9ABIInfo::classifyType(QualType Ty, 
unsigned SizeLimit,
       return ABIArgInfo::getExtend(Ty);
     }
 
+  // When being GCC-compatible, cast a complex integer to an integer type
+  // of the right size to get the correct scalar-like behavior.
----------------
s-barannikov wrote:

Can you expand the comment saying how other complex types are passed?
So that we don't have to dig what the rest of the function does.


https://github.com/llvm/llvm-project/pull/212340
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to