Files
swift-mirror/test/IRGen/Inputs/large_union.h
Arnold Schwaighofer 081a872b81 LargeTypesReg2Mem: Add a heuristic for C character arrays
They can lower to a set of i64 registers we consider small but exploded
to (manifested as SSA) registers they will cause significant code bloat.

rdar://125265576
2024-03-29 05:35:26 -07:00

14 lines
191 B
C

#pragma once
typedef union {
struct {
unsigned char a;
unsigned char arr[32];
} in;
struct {
int a;
unsigned char arr[32];
unsigned char b;
} out;
} some_struct;