I see, thanks. <br><br>However, if I -emit-llvm and then append the "target datalayout" string (then operate on that emitted llvm), I can then change the data type sizes and alignments, correct?<br><br>Thanks.<br>
<br><div class="gmail_quote">On Thu, Mar 22, 2012 at 2:25 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Mar 21, 2012, at 5:57 PM, Ryan Taylor wrote:<br>
<br>
> Is it possible to change the widths of types independent of the architecture? Or to reset the widths of types?<br>
><br>
> I haven't seen anything like this. Thanks.<br>
<br>
</div>The datalayout string is required to match the target, if it exists:<br>
<a href="http://llvm.org/docs/LangRef.html#datalayout" target="_blank">http://llvm.org/docs/LangRef.html#datalayout</a><br>
<br>
You can't control it to change how things are laid out.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Chris<br>
<br>
</font></span></blockquote></div><br>