[PATCH] D18560: [TTI] Add getInliningThresholdMultiplier.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 09:33:06 PDT 2016
jlebar created this revision.
jlebar added a reviewer: chandlerc.
jlebar added a subscriber: llvm-commits.
InlineCost's threshold is multiplied by this value. This lets us adjust
the inlining threshold up or down on a per-target basis. For example,
we might want to increase the threshold on targets where calls are
unusually expensive.
http://reviews.llvm.org/D18560
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
lib/Analysis/InlineCost.cpp
lib/Analysis/TargetTransformInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18560.51937.patch
Type: text/x-patch
Size: 4318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160329/8557cc75/attachment.bin>
More information about the llvm-commits
mailing list