[LLVMdev] Instruction Cost

Chandler Carruth chandlerc at google.com
Wed Jan 14 16:52:12 PST 2015


On Wed, Jan 14, 2015 at 4:17 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> ----- Original Message -----
> > From: "Jingyue Wu" <jingyue at google.com>
> > To: "Chandler Carruth" <chandlerc at google.com>
> > Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> > Sent: Wednesday, January 14, 2015 6:09:10 PM
> > Subject: Re: [LLVMdev] Instruction Cost
> >
> >
> >
> > CostModule::getInstructionCost also consults TTI (
> > http://llvm.org/docs/doxygen/html/CostModel_8cpp_source.html#l00380
> > ). No?
>
> 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).


Sorry, I confused this with something else. Ignore me!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150114/56d50578/attachment.html>


More information about the llvm-dev mailing list