[PATCH] D41719: [InlineCost] Prevent infinite recursion on function pointers
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 16:24:55 PST 2018
paquette updated this revision to Diff 128673.
paquette added a comment.
Updated patch to prevent general recursion instead of just the one edgecase. Also added some information to the dump function for CallAnalyzer to make it clear if the inliner bailed out because of the recursion limit.
https://reviews.llvm.org/D41719
Files:
lib/Analysis/InlineCost.cpp
test/Transforms/Inline/inline-functionptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41719.128673.patch
Type: text/x-patch
Size: 5545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180105/9649f2d8/attachment.bin>
More information about the llvm-commits
mailing list