[PATCH] D37170: [TargetTransformInfo] Add a new public interface getInstructionCost

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 6 16:39:16 PDT 2017


Carrot updated this revision to Diff 114096.
Carrot marked 6 inline comments as done.
Carrot added a subscriber: echristo.
Carrot added a comment.

Add a simple test case to make sure the interface works correctly.


https://reviews.llvm.org/D37170

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/CodeGen/BasicTTIImpl.h
  lib/Analysis/CostModel.cpp
  lib/Analysis/TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/costmodel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37170.114096.patch
Type: text/x-patch
Size: 42980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170906/8168b009/attachment.bin>


More information about the llvm-commits mailing list