CodeGen: Use the initing member's type for a union's storage type more often
Unions are initialized with the default initialization of their first named member. If that member is not zero initialized, then we should prefer that member's type. Otherwise, we might try to make an otherwise unsuitable type (like an array) which we cannot easily initialize with a pointer to member. llvm-svn: 219781
parent
2e29b40d
Please register or sign in to comment