<div dir="ltr"><a class="gmail_plusreply" id="plusReplyChip-2">+Arthur</a><br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 9:31 AM Jon Chesterfield via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to work out how to use the new pass manager. For example, what is the rough equivalent to addPreISel() in the old one for running target specific passes shortly before instruction selection, or how do I run a module pass shortly before a function pass.</div><div><br></div><div>I have a module pass which works if run shortly before instruction selection, but not if it is run via EP_ModuleOptimizerEarly. My current plan is to make the pass significantly more complicated, so that it can handle being run repeatedly from suboptimal points in the pipeline, but I can keep the simple/stupid version instead if I can work out how the pass manager works.</div><div><br></div><div>Thanks,</div><div><br></div><div>Jon</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>