[LLVMdev] type size

Duncan Sands baldrick at free.fr
Thu Jul 29 23:31:21 PDT 2010


Hi,

>      I would like to get different type sizes for some types when they
> are on  stack versus not on stack. This would help me stride
> aggregates of the types differently. Is there a way to influence the
> GEP's lowering such that it uses the right stride depending on what
> memory it is accessing ?

if you want a different stride, use a different type.

Ciao,

Duncan.



More information about the llvm-dev mailing list