<div dir="ltr"><div class="gmail_extra">On Thu, Apr 18, 2013 at 3:37 PM, Reed Kotler <span dir="ltr"><<a href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">For reordering issues, it would be useful for llvm ir to provide various ways to control reordering.<br>

<br>
for example, a wrapper that indicates that other operations cannot be moved inside the wrapper.<br></blockquote><div> </div><div><p style="margin:0px;font-size:13px;font-family:Arial;color:rgb(35,35,35)">This sounds like a membarrier.</p>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
or a wrapper that indicates that the IR in it must be processed canonically.<br></blockquote><div><br></div><div><span style="color:rgb(35,35,35);font-family:Arial;font-size:13px">Or, maybe a volatile-like flag that only exists within a certain scope.</span></div>
<div><br></div><div style>-Cameron </div></div></div></div>