[clang] [CIR] Flatten unions passed Direct in CallConvLowering (PR #241201)
Konstantinos Parasyris via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 13 06:49:20 PST 2026
https://github.com/koparasy commented:
LGTM. I think the change covers more than the test does, though. These cases go through the new union path:
```cpp
union { double d[2]; long l[2]; }
union __attribute__((packed)) { char c[13]; double d; }
union { struct { double x; int y; } s; char c[24]; }
void two(u_pad_t a, int x, u_pad_t b);
```
If you are already testing these in
https://github.com/llvm/llvm-project/pull/241201
More information about the cfe-commits
mailing list