Re: LLVM backend handling of packed structures
On Mon, Jul 3, 2017 at 8:23 PM, Nadav Amit via iovisor-dev
I get a strange phenomenon with packed structs in which each byte isThis is expected from current llvm implementation. For unpacked, the
compiler is able to use field natural alignment to decide which load
variant to use.
For packed, the field alignment is assumed to be 1, so it use load-byte.