<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 4:15 PM, Paul Vario <span dir="ltr"><<a href="mailto:paul.paul.mit@gmail.com" target="_blank">paul.paul.mit@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>Hi,</div><div><br></div><div>    I wrote my own FunctionPass that depends on DominatorTree and LoopInfo passes. Then my own pass is executed outside the LLVM optimizer infrastructure (I.e., in a main file). However, I got the following error: </div>
</blockquote></div><br>This just isn't supported by the existing pass management machinery. There is no viable way to run them outside of the LLVM pass managers.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
There is work to replace this part of LLVM's infrastructure and it will make some of these kinds of things more obvious, but there will still be requirements for passes to operate on dependencies.</div></div>