[clang] [llvm] [ABI] Add CanBeFlattened to ArgInfo for Direct struct coerces (PR #220579)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 3 23:55:31 PDT 2026


================
@@ -71,10 +71,11 @@ class ArgInfo {
   bool ZeroExt : 1;
   bool IndirectByVal : 1;
   bool IndirectRealign : 1;
+  bool CanBeFlattened : 1;
 
   ArgInfo(Kind K = Direct)
       : TheKind(K), SignExt(false), ZeroExt(false), IndirectByVal(false),
-        IndirectRealign(false) {}
+        IndirectRealign(false), CanBeFlattened(true) {}
----------------
skc7 wrote:

Fixed it. Thanks.

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


More information about the cfe-commits mailing list