<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 11:25 AM, Rail Shafigulin <span dir="ltr"><<a href="mailto:rail@esenciatech.com" target="_blank">rail@esenciatech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Jan 21, 2016 at 10:07 PM, Craig Topper <span dir="ltr"><<a href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">At least one of the callers would be from the .align directive which I assume you wouldn't want to overload. Where does it come from DataLayout? AsmStreamer is used for assembling from text and I wouldn't expect that to use DataLayout.</div></blockquote><div> </div></span><div>I made that assumption based on a very cursory look through the code. Didn't have the time to study it thoroughly. Sorry if this created any confusion.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Or is it used for inline assembly?</div></span><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><div><div><div><br></div></div></div><span><font color="#888888">-- <br><div>~Craig</div>
</font></span></div>
</font></span></blockquote></div><span class=""><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</span></div></div>
</blockquote></div><br>If you know how to does LLVM determine the alignment for a given processor I'd appreciate if you can point it out. I've been at it since last night and still can't figure it out. <br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</div></div>