xlauko wrote:

For example given first test case:
```
void Struct::arg_attr(Struct s, int &i, Incomplete &j){}
```

OGCG alignment is: `this = 4, s = 8, i = 4, j = 1`

CIR before this change generated:  `this = 4, s is passedby value (no 
alignment),  i = 8, j = 8`
CIR after this change generated: `this = 4, s is passedby value (no alignment), 
 i = 4, j = 1`

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

Reply via email to