<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 14, 2015 at 4:17 PM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
> From: "Jingyue Wu" <<a href="mailto:jingyue@google.com">jingyue@google.com</a>><br>
</span><span class="">> To: "Chandler Carruth" <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>><br>
> Cc: "LLVM Developers Mailing List" <<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>><br>
> Sent: Wednesday, January 14, 2015 6:09:10 PM<br>
> Subject: Re: [LLVMdev] Instruction Cost<br>
><br>
><br>
><br>
> CostModule::getInstructionCost also consults TTI (<br>
> <a href="http://llvm.org/docs/doxygen/html/CostModel_8cpp_source.html#l00380" target="_blank">http://llvm.org/docs/doxygen/html/CostModel_8cpp_source.html#l00380</a><br>
> ). No?<br>
<br>
</span>Yes, and is used to create regressions tests for (1). We should also extend it to make creating regression tests for the things in (2) easier, but no one has done that yet (those costs are also much less well tuned).</blockquote></div><br>Sorry, I confused this with something else. Ignore me!</div></div>