<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br>Envoyé de mon iPhone</div><div><br>Le 19 févr. 2014 à 20:00, Lang Hames <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>> a écrit :<br><br></div><blockquote type="cite"><div><span>Hey All,</span><br><span></span><br><blockquote type="cite"><span>To keep going into that direction, I'd love a tool (opt or other) that would</span><br></blockquote><blockquote type="cite"><span>handle IR to IR, IR to MIR (format not defined), and MIR to MIR. My point is</span><br></blockquote><blockquote type="cite"><span>making the distinction between code gen-ish passes and transform passes does</span><br></blockquote><blockquote type="cite"><span>not make much sense to me.</span><br></blockquote><span></span><br><span>Do you mean a single tool?</span></div></blockquote>Yes, ultimately :).<div><span style="font-size: 27px;"><br></span><blockquote type="cite"><div><span> I don't have any objection to that, but the</span><br><span>new tool would still have to solve the problem of invoking single IR</span><br><span>-> IR passes without running any MIR passes, which seems like the same</span><br><span>problem we're now facing in llc? </span></div></blockquote><div>Okay, I think I miss something.</div><div>What is the problem we are facing with IR to IR passes in llc?</div><div>Couldn't we just run them into opt?</div><div><br></div><blockquote type="cite"><div><span>If that's true, then I'd be inclined</span><br><span>to tackle it within llc for now (borrowing ideas/infrastructure from</span><br><span>opt where appropriate). Later, if we decide it's not worth keeping the</span><br><span>tools separate, we could merge llc and opt.</span><br></div></blockquote>I am missing something here too. Is Running llc on just specific passes supposed to work?</div><div><br></div><div>It seems like I completely miss the underlying problem.</div><div>The goal of this patch was to solve a dependency issue between two libraries.</div><div>If we want more, we need to go back to the discussion without any patch in mind.</div><div><br></div><div>Thanks,</div><div>-Quentin</div><div><blockquote type="cite"><div><span></span><br><span>- Lang.</span><br></div></blockquote></div></body></html>