[PATCH] D35850: [InlineCost] Add cl::opt to allow full inline cost to be computed for debugging purposes.
Haicheng Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 18:59:52 PDT 2017
haicheng updated this revision to Diff 111454.
haicheng added a comment.
Change the output of optimization remarks to something like below if anything like recursive call, dynamic alloca is found
`foz is recursive and allocates too much stack space. Cost is not fully computed`
`foz not inlined into bar because it should never be inlined (cost=never)`
Is this okay? Thank you.
Repository:
rL LLVM
https://reviews.llvm.org/D35850
Files:
include/llvm/Analysis/InlineCost.h
lib/Analysis/InlineCost.cpp
lib/Transforms/IPO/InlineSimple.cpp
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/IPO/PartialInlining.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35850.111454.patch
Type: text/x-patch
Size: 10941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170817/1e620bee/attachment.bin>
More information about the llvm-commits
mailing list