[PATCH] D30899: [InlineCost] CallPenalty knob to provide custom values
Evgeny Astigeevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 09:37:09 PDT 2017
eastig created this revision.
Herald added a subscriber: eraman.
At the moment CallPenalty is fixed to the value 25.
The patch introduces a knob '-call-penalty' to provide custom values to CallPenalty.
https://reviews.llvm.org/D30899
Files:
include/llvm/Analysis/InlineCost.h
lib/Analysis/InlineCost.cpp
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/call-penalty-knob.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30899.91575.patch
Type: text/x-patch
Size: 7929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/af7ac779/attachment.bin>
More information about the llvm-commits
mailing list