<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 27, 2016 at 9:38 AM, Marcin Kościelnicki <span dir="ltr"><<a href="mailto:koriakin@0x04.net" target="_blank">koriakin@0x04.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">koriakin added a comment.<br>
<span class=""><br>
In <a href="http://reviews.llvm.org/D21736#467986" rel="noreferrer" target="_blank">http://reviews.llvm.org/D21736#467986</a>, @davidxl wrote:<br>
<br>
> One nit. Can you save TLI pointer in InstProfiling instead of passing it around?<br>
<br>
<br>
</span>Save where? I thought run is not supposed to modify the Pass object, and I don't have TLI before that.<br></blockquote><div><br></div><div>In InstrProfiling::run method -- see that Module is also saved there.</div><div><br></div><div>Passing one analysis around may not be a big problem, but I think we should make the interface consistent here.</div><div><br></div><div>David</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D21736" rel="noreferrer" target="_blank">http://reviews.llvm.org/D21736</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>