[LLVMdev] Proposed: first class packed structures
sabre at nondot.org
Thu Dec 7 23:30:18 PST 2006
On Thu, 7 Dec 2006, Reid Spencer wrote:
> If you *really* want to be efficient, the *right* way to do this is to
> create a new TypeID and the corresponding class (class
> PackedStructureType : public StructureType). That way it costs nothing
> (the value of the TypeID indicates that its PackedStructure) and there's
> no need to mess with an additional byte in the StructureType class.
> But, that might be a little heavy weight :)
Ok, fair enough!
More information about the llvm-dev