[LLVMdev] Target Data

Chris Lattner clattner at apple.com
Thu Mar 22 14:25:08 PDT 2012


On Mar 21, 2012, at 5:57 PM, Ryan Taylor wrote:

> Is it possible to change the widths of types independent of the architecture? Or to reset the widths of types?
> 
> I haven't seen anything like this. Thanks.

The datalayout string is required to match the target, if it exists:
http://llvm.org/docs/LangRef.html#datalayout

You can't control it to change how things are laid out.

-Chris




More information about the llvm-dev mailing list