<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div apple-content-edited="true"><br></div><div><div>On Feb 19, 2014, at 5:47 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 5:42 PM, Quentin Colombet <span dir="ltr"><<a href="mailto:qcolombet@apple.com" target="_blank">qcolombet@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><div>As one can notice (makefile, CMakeLists) the patch introduces a dependency on libLLVMCodeGen for both opt and bugpoint because of that.</div>
<div><br></div><div>The dependency for bugpoint could be avoid if we were less aggressive in LinkAllPasses.h.</div></blockquote></div><br>Would it be possible to stop adding this pass from opt and instead have llc (and the target machine) add the pass? I don't think we have any real reason to want to see CGP output from opt…</div>
</div>
</blockquote></div>Well… I do :).<div><br></div><div>CGP is IR to IR pass and I do prefer write unitary test that check against IR =.</div><div>More over, CGP is doing some stuff even when TargetLowering is not available as demonstrated in some tests.</div><div><br></div><div>-Quentin</div></body></html>