[LLVMdev] Structure memory layout

Duncan Sands baldrick at free.fr
Tue Oct 19 05:28:27 PDT 2010


Hi Jin Gu Kang

>    5 %0 = type { i3, i4, i3, i2 }

each of the above struct fields occupies 1 byte.  If you were hoping that an
i3 field would occupy only 3 bits then I am sorry, it doesn't work that way.

Ciao,

Duncan.



More information about the llvm-dev mailing list