[LLVMdev] PROPOSAL: IR representation of detailed struct assignment information

Renato Golin rengolin at systemcall.org
Fri Aug 31 01:15:35 PDT 2012


On 30 August 2012 21:30, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> I guess I'm late to the party, but another possibility would be to model
> structure types as lists of members with their offsets from the beginning of
> the parent aggregate.  This would require extensive changes to LLVM, so I'm
> not sure if it's an option.

This has been proposed already, and could also be used by bitfields,
but the changes were too many and was not accepted.

I think the biggest reason against was that it was strongly based on
C++ semantics and not generic enough to be considered IR material.

-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-dev mailing list