<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Nov 3, 2016 at 2:18 AM Umesh Kalappa <<a href="mailto:umesh.kalappa0@gmail.com">umesh.kalappa0@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi Chandler and All ,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thank you for the new design on  the  pass manager ,<a href="http://llvm.org/devmtg/2014-10/Slides/Carruth-TheLLVMPassManagerPart2.pdf" class="gmail_msg" target="_blank">http://llvm.org/devmtg/2014-10/Slides/Carruth-TheLLVMPassManagerPart2.pdf</a></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">We are coming up with new module pass ,that uses the region pass analysis (RPM),we have few queries like ,</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">a)can we model our requirements with your new design ,using the ModelToFunctionPassAdaptor /Proxies ?</div></div></blockquote><div><br></div><div>Almost certainly.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">b)Region Pass /Region Pass Manager uses the legacy pass manager and  not refactored to new design ,Do you have plans for it ?</div></div></blockquote><div><br></div><div>I don't have any specific plans here. But I think it should be possible to port. However, analysis-driven pass management is the most complicated part of this, and is only just now stabilizing after several iterations to figure out a design that works well.</div><div><br></div><div>I think it may be useful to watch how the Loop pass manager and analyses are ported to the end-state design in the next few months as an indication of what this will likely look like for regions.</div><div><br></div><div>That said, I don't currently plan to work a lot on the region infrastructure in the near future, so if this is something you're interested in I would definitely encourage you to dig into it and work on it.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">c)Any document for your new design ,other than mail threads or ppt doc  ?</div></div></blockquote><div><br></div><div>At the moment, the header comments are the best documentation. The design, especially around analysis-based passes remains somewhat in flux. I'm definitely planning to write up more detailed documentation as the design starts to stabilize.</div></div></div>