Displaying 2 results from an estimated 2 matches for "0eca1d59".
2010 Sep 08
0
[LLVMdev] Union type, is it really used or necessary?
On 08 Sep 2010, at 13:03, David Given wrote:
> On 07/09/10 14:22, Erik de Castro Lopo wrote:
> [...]
>> When generating 32 bit code the struct looks like:
>>
>> <{ i32, pointer }>
>>
>> and for 64 bit code:
>>
>> <{ union { i32, i64 }, pointer }>
>
> Surely LLVM will cause the first structure to be correctly aligned on
>
2010 Sep 08
4
[LLVMdev] Union type, is it really used or necessary?
On 07/09/10 14:22, Erik de Castro Lopo wrote:
[...]
> When generating 32 bit code the struct looks like:
>
> <{ i32, pointer }>
>
> and for 64 bit code:
>
> <{ union { i32, i64 }, pointer }>
Surely LLVM will cause the first structure to be correctly aligned on
64-bit platforms by automatically inserting padding? Is explicit
alignment by the user