<div dir="ltr"><span style="font-size:12.8000001907349px">The reason I asked this is that I observed some data which shows the complexity of "mem2reg" is more than linear.  So, I would like to confirm whether that is expected behavior.</span><br><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks!</span></div><div><span style="font-size:12.8000001907349px">-Peng</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 3:13 PM, Peng Cheng <span dir="ltr"><<a href="mailto:gm4cheng@gmail.com" target="_blank">gm4cheng@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"><div>Does anyone know what is the complexity of the "mem2erg" optimization on llvm ir?</div><div><br></div><div>Is it linear or quadratic?</div><div><br></div><div>Regards,</div><div>-Peng</div></div>
</blockquote></div><br></div>